Table of Contents

Class Standard.Paragraph.OnBeforeRenderArgs

Namespace
Dynamicweb.Notifications
Assembly
Dynamicweb.dll

Provides information about the paragraph before render.

public class Standard.Paragraph.OnBeforeRenderArgs : NotificationArgs
Inheritance
Standard.Paragraph.OnBeforeRenderArgs
Inherited Members

Examples

using Dynamicweb.Extensibility.Notifications;

namespace Dynamicweb.Examples.Notifications.Standard
{
    [Subscribe(Dynamicweb.Notifications.Standard.Paragraph.OnBeforeRender)]
    public class ParagraphOnBeforeRenderObserver : NotificationSubscriber
    {
        public override void OnNotify(string notification, NotificationArgs args)
        {
            if (args == null)
                return;

            var item = (Dynamicweb.Notifications.Standard.Paragraph.OnBeforeRenderArgs) args;
        }
    }
}

Remarks

Properties

ParagraphViewModel

Gets or sets the paragraph view model.

public ParagraphViewModel ParagraphViewModel { get; set; }

Property Value

ParagraphViewModel

The paragraph view model.

To top