Class DialogEvents
Configure handlers to handle the events with the Dialog component.
Inheritance
Namespace: Syncfusion.Blazor.Popups
Assembly: Syncfusion.Blazor.dll
Syntax
public class DialogEvents : OwningComponentBase
Constructors
DialogEvents()
Declaration
public DialogEvents()
Properties
Closed
Event triggers after the dialog has been closed.
Declaration
public EventCallback<CloseEventArgs> Closed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<CloseEventArgs> |
Created
Event triggers when the dialog is created.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
Destroyed
Event triggers when the dialog is destroyed.
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
OnClose
Event triggers before the dialog is closed. If you cancel this event, the dialog remains opened.
Declaration
public EventCallback<BeforeCloseEventArgs> OnClose { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeforeCloseEventArgs> |
OnDrag
Event triggers when the user drags the dialog.
Declaration
public EventCallback<DragEventArgs> OnDrag { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<DragEventArgs> |
OnDragStart
Event triggers when the user begins dragging the dialog.
Declaration
public EventCallback<DragStartEventArgs> OnDragStart { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<DragStartEventArgs> |
OnDragStop
Event triggers when the user stops dragging the dialog.
Declaration
public EventCallback<DragStopEventArgs> OnDragStop { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<DragStopEventArgs> |
OnOpen
Event triggers when the dialog is being opened. If you cancel this event, the dialog remains closed.
Declaration
public EventCallback<BeforeOpenEventArgs> OnOpen { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<BeforeOpenEventArgs> |
OnOverlayModalClick
Event triggers when the overlay of the dialog is clicked.
Declaration
public EventCallback<OverlayModalClickEventArgs> OnOverlayModalClick { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<OverlayModalClickEventArgs> |
OnResizeStart
Event triggers when the user begins to resize a dialog.
Declaration
public EventCallback<MouseEventArgs> OnResizeStart { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> |
OnResizeStop
Event triggers when the user stops to resize a dialog.
Declaration
public EventCallback<MouseEventArgs> OnResizeStop { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> |
Opened
Event triggers when a dialog is opened.
Declaration
public EventCallback<OpenEventArgs> Opened { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<OpenEventArgs> |
Resizing
Event triggers when the user resizes the dialog.
Declaration
public EventCallback<MouseEventArgs> Resizing { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> |
Methods
Dispose()
Dispose the unmanaged resources.
Declaration
public virtual void Dispose()
Dispose(Boolean)
Dispose the unmanaged resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean value to dispose the object. |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |