Skip to main content

OverlayDismissEventPassThrough Property

Gets or sets a value indicating whether the event that closes the flyout is passed through to the parent window.

Definition

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public bool OverlayDismissEventPassThrough { get; set; }

Property Value

Boolean

Remarks

Clicks outside the popup cause the popup to close. When OverlayDismissEventPassThrough is set to false, these clicks will be handled by the popup and not be registered by the parent window. When set to true, the events will be passed through to the parent window.

See Also

Reference

PopupFlyoutBase Class
Avalonia.Controls.Primitives Namespace