FlyoutBase.ShowMode Property


Gets or sets a value that indicates how a flyout behaves when shown.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Primitives.FlyoutBase.ShowMode.

 property FlyoutShowMode ShowMode { FlyoutShowMode get(); void set(FlyoutShowMode value); };
FlyoutShowMode ShowMode();

void ShowMode(FlyoutShowMode value);
public FlyoutShowMode ShowMode { get; set; }
var flyoutShowMode = flyoutBase.showMode;
flyoutBase.showMode = flyoutShowMode;
Public Property ShowMode As FlyoutShowMode

Property Value


A value of the enumeration that indicates how a flyout behaves when shown.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to