FlyoutShowMode Enum

Definition

Defines constants that specify how a flyout behaves when shown.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum FlyoutShowMode
Inheritance
FlyoutShowMode
Attributes

Fields

Name Value Description
Auto 0

The show mode is determined automatically based on the method used to show the flyout.

Standard 1

Behavior is typical of a flyout shown reactively, like a context menu. The open flyout takes focus. For a CommandBarFlyout, it opens in it's expanded state.

Transient 2

Behavior is typical of a flyout shown proactively. The open flyout does not take focus. For a CommandBarFlyout, it opens in it's collapsed state.

TransientWithDismissOnPointerMoveAway 3

The flyout exhibits Transient behavior while the cursor is close to it, but is dismissed when the cursor moves away.

Applies to

Toode Versioonid
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also