Dela via


FlyoutShowMode Enum

Definition

Defines constants that specify how a flyout behaves when shown.

public enum class FlyoutShowMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class FlyoutShowMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum FlyoutShowMode
Public Enum FlyoutShowMode
Inheritance
FlyoutShowMode
Attributes

Windows requirements

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

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 its 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 its 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