Search Results for

    Show / Hide Table of Contents
    View Source

    Class PartialViewCreatingNotification

    Notification published before a partial view is created.

    Inheritance
    object
    StatefulNotification
    ObjectNotification<IPartialView>
    CancelableObjectNotification<IPartialView>
    CreatingNotification<IPartialView>
    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 Source

    PartialViewCreatingNotification(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.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX