alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class OpenEventArgs

    Provides arguments for the Opened event, which is triggered after the dialog has opened.

    Inheritance
    object
    OpenEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Popups
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class OpenEventArgs
    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
    bool

    A bool. The default is false.

    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
    string

    The event name as a string, typically "Opened".

    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
    bool

    A bool. The default is false.

    Remarks

    Set to true to handle focus manually after the dialog opens.

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