Skip to main content

FlyoutShowMode Enum

Definition​

Assembly:Avalonia.Controls
Package:Avalonia
public enum FlyoutShowMode

Inheritance: Enum -> FlyoutShowMode

Fields​

NameDescription
StandardBehavior 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.
TransientBehavior is typical of a flyout shown proactively. The open flyout does not take focus.
TransientWithDismissOnPointerMoveAwayThe flyout exhibits Transient behavior while the cursor is close to it, but is dismissed when the cursor moves away.

Standard Field​

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.

public Avalonia.Controls.FlyoutShowMode Standard

Transient Field​

Behavior is typical of a flyout shown proactively. The open flyout does not take focus.

public Avalonia.Controls.FlyoutShowMode Transient

TransientWithDismissOnPointerMoveAway Field​

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

public Avalonia.Controls.FlyoutShowMode TransientWithDismissOnPointerMoveAway