Class Standard.GridRow.OnBeforeRenderArgs
- Namespace
- Dynamicweb.Notifications
- Assembly
- Dynamicweb.dll
Provides information about the grid row before render.
public class Standard.GridRow.OnBeforeRenderArgs : CancelableNotificationArgs
- Inheritance
-
Standard.GridRow.OnBeforeRenderArgs
- Inherited Members
Examples
using Dynamicweb.Extensibility.Notifications;
namespace Dynamicweb.Examples.Notifications.Standard;
[Subscribe(Dynamicweb.Notifications.Standard.GridRow.OnBeforeRender)]
public class GridRowOnBeforeRenderObserver : NotificationSubscriber
{
public override void OnNotify(string notification, NotificationArgs args)
{
if (args is null)
return;
var item = (Dynamicweb.Notifications.Standard.GridRow.OnBeforeRenderArgs)args;
}
}
Remarks
Arguments passed to Dynamicweb.Notifications.Standard.GridRow.OnBeforeRender notification
Properties
Row
Gets or sets the grid row view model that is about to be rendered.
public required GridRowViewModel Row { get; set; }
Property Value
- GridRowViewModel
The grid row view model.