Skip to main content

ShouldUseOverlayLayer Property

Gets or sets a value that indicates whether the popup should be shown in the overlay layer of the parent window.

Definition

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

public bool ShouldUseOverlayLayer { get; set; }

Property Value

Boolean

Remarks

When ShouldUseOverlayLayer is "false" implementation depends on the platform. Use IsUsingOverlayLayer to get actual popup behavior. This is an equvalent of OverlayPopups property of the platform options, but settable independently per each popup.

See Also

Reference

Popup Class
Avalonia.Controls.Primitives Namespace