Class PopupEventArgs
Event argument for popup (open/close) scenarios in Syncfusion dropdowns—covers advanced handling, animation, and cancellation.
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 |
|
Popup
Gets the current popup's model/state for reference or customization.
Declaration
public PopupModel Popup { get; set; }
Property Value
Type | Description |
---|---|
PopupModel | Associated |