PopupOverlayDismissEventPassThrough 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) Version: 11.3.999
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