Class PartialViewCreatingNotification
Notification published before a partial view is created.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class PartialViewCreatingNotification : CreatingNotification<IPartialView>, IStatefulNotification, ICancelableNotification, INotification
Remarks
This notification is cancelable, allowing handlers to prevent the create operation
by setting Cancel to true.
Constructors
View SourcePartialViewCreatingNotification(IPartialView, EventMessages)
Initializes a new instance of the PartialViewCreatingNotification class.
Declaration
public PartialViewCreatingNotification(IPartialView target, EventMessages messages)
Parameters
| Type | Name | Description |
|---|---|---|
| IPartialView | target | The partial view being created. |
| EventMessages | messages | The event messages collection. |