Class DashboardLayoutEvents
Specifies the DashboardLayout events.
Inheritance
Namespace: Syncfusion.Blazor.Layouts
Assembly: Syncfusion.Blazor.dll
Syntax
public class DashboardLayoutEvents : OwningComponentBase
Constructors
DashboardLayoutEvents()
Declaration
public DashboardLayoutEvents()
Properties
Changed
Gets or sets an event callback that is raised when the panel's position are changed.
Declaration
public EventCallback<ChangeEventArgs> Changed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ChangeEventArgs> | An event callback function. |
Remarks
You can capture this event to detect the panel position changes.
Created
Gets or sets an event callback that is raised when the DashboardLayout is created.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
Remarks
You can update panel data or perform required action when the component is created.
Destroyed
Gets or sets an event callback that is raised when the DashboardLayout is destroyed.
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
Remarks
Required actions can be performed once the component is destroyed.
OnDragStart
Gets or sets an event callback that is raised when a panel is about to drag.
Declaration
public EventCallback<DragStartArgs> OnDragStart { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<DragStartArgs> | An event callback function. |
Remarks
Helps to identify that the panel drag action is started.Panel drag can be prevented in required cases through this event.
OnDragStop
Gets or sets an event callback that is raised when a dragged panel is dropped.
Declaration
public EventCallback<DragStopArgs> OnDragStop { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<DragStopArgs> | An event callback function. |
Remarks
Helps to identify that the panel drag action is stopped.
OnResizeStart
Gets or sets an event callback that is raised when a panel is started to resize.
Declaration
public EventCallback<ResizeArgs> OnResizeStart { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ResizeArgs> | An event callback function. |
Remarks
Helps to identify that the panel resize action is started.
OnResizeStop
Gets or sets an event callback that is raised when a panel resize ends.
Declaration
public EventCallback<ResizeArgs> OnResizeStop { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ResizeArgs> | An event callback function. |
Remarks
Helps to identify that the panel resize action is stopped.
OnWindowResize
Gets or sets an event callback that is raised when re-sizing the window.
Declaration
public EventCallback<ResizeArgs> OnWindowResize { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ResizeArgs> | An event callback function. |
Remarks
Helps to identify that the window resize action takes place. Panels can be refreshed during window resize through this event callback.
Parent
DashboardLayout component reference.
Declaration
protected SfDashboardLayout Parent { get; set; }
Property Value
Type |
---|
SfDashboardLayout |
Resizing
Gets or sets an event callback that is raised when a panel is being resized continuously.
Declaration
public EventCallback<ResizeArgs> Resizing { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<ResizeArgs> | An event callback function. |
Remarks
Helps to identify that the panel is being resized.
Methods
OnInitialized()
Method invoked when the component is ready to start.
Declaration
protected override void OnInitialized()