FlyoutShowMode FlyoutShowMode FlyoutShowMode FlyoutShowMode Enum

Definition

Defines constants that specify how a flyout behaves when shown.

public : enum class FlyoutShowMode
enum class winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode : int32_t
public enum FlyoutShowMode
Public Enum FlyoutShowMode
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Fields

Auto Auto Auto Auto 0

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

Standard Standard Standard Standard 0

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 Transient Transient Transient 1

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 TransientWithDismissOnPointerMoveAway TransientWithDismissOnPointerMoveAway TransientWithDismissOnPointerMoveAway 3

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

See also