MahApps.Metro by Jan Karger, Dennis Daume, Brendan Forster, Paul Jenkins, Jake Ginnivan, Alex Mitchell

<PackageReference Include="MahApps.Metro" Version="2.1.1" />

.NET API 3,425,904 bytes

 Flyout

A sliding panel control that is hosted in a MetroWindow via a FlyoutsControl. MetroWindow FlyoutsControl

public static readonly RoutedEvent ClosingFinishedEvent

An event that is raised when the closing animation has finished.

public static readonly DependencyProperty IsModalProperty

public static readonly RoutedEvent IsOpenChangedEvent

An event that is raised when IsOpen changes.

public static readonly DependencyProperty IsOpenProperty

public static readonly DependencyProperty IsPinnedProperty

public static readonly RoutedEvent OpeningFinishedEvent

An event that is raised when the opening animation has finished.

public static readonly DependencyProperty PositionProperty

public static readonly DependencyProperty ThemeProperty

public bool AllowFocusElement { get; set; }

Gets or sets a value indicating whether the flyout should try focus an element.

public bool AnimateOnPositionChange { get; set; }

Gets/sets whether this flyout uses the open/close animation when changing the Position property. (default is true)

public bool AnimateOpacity { get; set; }

Gets/sets whether this flyout animates the opacity of the flyout when opening/closing.

public bool AreAnimationsEnabled { get; set; }

public long AutoCloseInterval { get; set; }

Gets or sets the time in milliseconds when the flyout should auto close.

public bool CloseButtonIsCancel { get; set; }

Gets/sets if the close button is a cancel button in this flyout.

public Visibility CloseButtonVisibility { get; set; }

Gets/sets if the close button is visible in this flyout.

public ICommand CloseCommand { get; set; }

Gets/sets a command which will be executed if the close button was clicked. Note that this won't execute when IsOpen is set to false.

public object CloseCommandParameter { get; set; }

Gets/sets the command parameter which will be passed by the CloseCommand.

public MouseButton ExternalCloseButton { get; set; }

Gets/sets the mouse button that closes the flyout on an external mouse click.

public FrameworkElement FocusedElement { get; set; }

Gets or sets the focused element.

public bool IsAutoCloseEnabled { get; set; }

Gets or sets a value indicating whether the flyout should auto close after AutoCloseInterval has passed.

public bool IsModal { get; set; }

Gets/sets whether this flyout is modal.

public bool IsOpen { get; set; }

Gets/sets whether this flyout is visible.

public bool IsPinned { get; set; }

Gets/sets whether this flyout stays open when the user clicks outside of it.

public Position Position { get; set; }

Gets/sets this flyout's position in the FlyoutsControl/MetroWindow.

public FlyoutTheme Theme { get; set; }

Gets or sets the theme of this flyout.

public Visibility TitleVisibility { get; set; }

Gets/sets if the title is visible in this flyout.

public Flyout()