menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OverlayModalClickEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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 bool. The default is false.

    Remarks

    When set to true, the default behavior of focusing on the first element is suppressed.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved