alexa
menu

Blazor Toolkit

    Show / Hide Table of Contents

    Class BeforeOpenEventArgs

    Provides arguments for the OnOpen event, which is triggered before the dialog opens.

    Inheritance
    System.Object
    BeforeOpenEventArgs
    Namespace: Syncfusion.Blazor.Toolkit.Popups
    Assembly: Syncfusion.Blazor.Toolkit.dll
    Syntax
    public class BeforeOpenEventArgs : Object
    Remarks

    This event allows for customization or cancellation of the dialog before it is displayed.

    Constructors

    BeforeOpenEventArgs()

    Declaration
    public BeforeOpenEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether the opening of the dialog should be canceled.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    A bool. The default is false.

    Remarks

    Setting this to true prevents the dialog from being shown.

    MaxHeight

    Gets or sets a value that overrides the dialog's maximum height.

    Declaration
    public string MaxHeight { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the maximum height (e.g., "500px", "80%").

    Remarks

    This allows for dynamically adjusting the maximum height before the dialog is rendered.

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