alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class PopupEventArgs

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

    Inheritance
    object
    PopupEventArgs
    ComboBoxPopupCloseEventArgs
    ComboBoxPopupOpenedEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.DropDowns
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PopupEventArgs
    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
    [Obsolete("This property is obsolete and no longer supported.", false)]
    [JsonPropertyName("animation")]
    public object Animation { get; set; }
    Property Value
    Type
    object

    Cancel

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

    Declaration
    [JsonPropertyName("cancel")]
    public bool Cancel { get; set; }
    Property Value
    Type Description
    bool

    true cancels; false allows popup to proceed.

    Popup

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

    Declaration
    [JsonPropertyName("popup")]
    public PopupModel Popup { get; set; }
    Property Value
    Type Description
    PopupModel

    Associated PopupModel for advanced access.

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