Class OpenEventArgs
Provides arguments for the Opened event, which is triggered after the dialog has opened.
Inheritance
Namespace: Syncfusion.Blazor.Popups
Assembly: Syncfusion.Blazor.dll
Syntax
public class OpenEventArgs : Object
Remarks
This event is useful for executing code after the dialog is visible and fully rendered.
Constructors
OpenEventArgs()
Declaration
public OpenEventArgs()
Properties
Cancel
Gets or sets a value indicating whether a subsequent action should be canceled. This is not typically used in the Opened
event.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A |
Remarks
Since the dialog is already open, canceling has no effect on its visibility.
Container
Gets the container element where the dialog is rendered.
Declaration
public DOM Container { get; set; }
Property Value
Type | Description |
---|---|
DOM | A DOM object representing the container. |
Remarks
This is the parent element containing the dialog.
Element
Gets the root DOM element of the dialog.
Declaration
public DOM Element { get; set; }
Property Value
Type | Description |
---|---|
DOM | A DOM object for the dialog element. |
Remarks
This provides access to the main dialog element in the DOM.
Name
Gets the name of the event.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The event name as a |
Remarks
Identifies the fired event.
PreventFocus
Gets or sets a value indicating whether to prevent the default behavior of focusing on the first focusable element.
Declaration
public bool PreventFocus { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A |
Remarks
Set to true
to handle focus manually after the dialog opens.