menu

Blazor

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

    Show / Hide Table of Contents

    Class PopupEventArgs

    Event argument for popup (open/close) scenarios in Syncfusion dropdowns—covers advanced handling, animation, and cancellation.

    Inheritance
    System.Object
    PopupEventArgs
    ComboBoxPopupCloseEventArgs
    ComboBoxPopupOpenedEventArgs
    Namespace: Syncfusion.Blazor.DropDowns
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PopupEventArgs : Object
    Remarks

    PopupEventArgs is passed to popup-related events, allowing UI cancellation, dynamic modification, or legacy animation access (obsolete).

    Examples
    void OnPopup(PopupEventArgs args)
    {
        if (args.Cancel) LogPopupBlocked();
        else args.Popup.SetMaxHeight(300);
    }

    Constructors

    PopupEventArgs()

    Declaration
    public PopupEventArgs()

    Properties

    Animation

    [Obsolete] Animation configuration for the popup is not supported in current API versions.

    Declaration
    public object Animation { get; set; }
    Property Value
    Type
    System.Object

    Cancel

    Gets or sets whether the open/close operation for the popup should be cancelled.

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

    true cancels; false allows popup to proceed.

    Popup

    Gets the current popup's model/state for reference or customization.

    Declaration
    public PopupModel Popup { get; set; }
    Property Value
    Type Description
    PopupModel

    Associated PopupModel for advanced access.

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