Skip to main content

OverlayDismissEventPassThrough Property

Gets or sets a value indicating whether the event that closes the popup 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​

When IsLightDismissEnabled is set to true, 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​

Popup Class
Avalonia.Controls.Primitives Namespace