FlyoutShowMode Enum

Definition

Defines constants that specify how a flyout behaves when shown.

public enum class FlyoutShowMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class FlyoutShowMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum FlyoutShowMode
Public Enum FlyoutShowMode
Inheritance
FlyoutShowMode
Attributes

Fields

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

See also