Class OverlayModalClickEventArgs
Provides arguments for the OnOverlayModalClick event.
Inheritance
System.Object
OverlayModalClickEventArgs
Namespace: Syncfusion.Blazor.Popups
Assembly: Syncfusion.Blazor.dll
Syntax
public class OverlayModalClickEventArgs : Object
Remarks
This event is triggered when the user clicks on the overlay of a modal dialog.
Constructors
OverlayModalClickEventArgs()
Declaration
public OverlayModalClickEventArgs()
Properties
Event
Gets the mouse event arguments associated with the overlay click.
Declaration
public MouseEventArgs Event { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.Web.MouseEventArgs | A Microsoft.AspNetCore.Components.Web.MouseEventArgs object containing details about the mouse event. |
Remarks
Provides information such as the mouse cursor's position and which button was pressed.
PreventFocus
Gets or sets a value indicating whether to prevent the dialog from automatically focusing on the first focusable element.
Declaration
public bool PreventFocus { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A |
Remarks
When set to true
, the default behavior of focusing on the first element is suppressed.