MetroWindow
An extended, metrofied Window class.
Identifies the IgnoreTaskbarOnMaximize dependency property.
Identifies the IsAnyDialogOpen dependency property.
Identifies the IsCloseButtonEnabledWithDialog dependency property.
Identifies the OverlayFadeIn dependency property.
Identifies the OverlayFadeOut dependency property.
Gets or sets the brush used for the Flyouts overlay.
Gets/sets the FlyoutsControl that hosts the window's flyouts.
Gets/sets the brush used for the Window's glow.
Gets/sets bitmap scaling mode of the titlebar icon.
Gets/sets edge mode of the titlebar icon.
Gets/sets icon scaling mode of the titlebar.
Gets/sets the icon content template to show a custom icon.
Defines if the Taskbar should be ignored when maximizing a Window.
This only works with WindowStyle = None.
Gets whether one or more dialogs are shown.
Gets/sets if the close button is enabled.
Gets or sets whether if the close button should be enabled or not if a dialog is shown.
Gets/sets if the max/restore button is enabled.
Gets/sets if the min button is enabled.
Gets/sets if the border thickness value should be kept on maximize
if the MaxHeight/MaxWidth of the window is less than the monitor resolution.
Gets/sets the left window commands that hosts the user commands.
Gets/sets the brush used for the Window's non-active border.
Gets/sets the brush used for the Window's non-active glow.
Gets/sets the brush used for the Window's non-active title bar.
Gets/sets the brush used for the dialog overlay.
Gets or sets the overlay fade in storyboard.
Gets or sets the overlay fade out storyboard.
Gets/sets the opacity used for the dialog overlay.
Allows easy handling of window commands brush. Theme is also applied based on this brush.
Gets or sets resize border thickness. This enables animation, styling, binding, etc...
Gets/sets the right window commands that hosts the user commands.
Gets/sets whether the window will save it's position between loads.
Gets or sets whether if the close button is visible.
Get/sets whether dialogs show over the title bar.
Get/sets whether the titlebar icon is visible or not.
Gets or sets whether if the maximize/restore button is visible and the maximize/restore system menu is enabled.
Gets or sets whether if the minimize button is visible and the minimize system menu is enabled.
Gets or sets a value that indicates whether the system menu should popup with left mouse click on the window icon.
Gets or sets a value that indicates whether the system menu should popup with right mouse click if the mouse position is on title bar or on the entire window if it has no title bar (and no title bar height).
Gets/sets whether the TitleBar is visible or not.
Gets/sets the title horizontal alignment.
Gets/sets the TitleBar's height.
Character casing of the title
Gets/sets the brush used for the titlebar's foreground.
Gets/sets the title content template to show a custom title.
Gets or sets wether the resizing of the window should be tried in a way that does not cause flicker/jitter, especially when resizing from the left side.
Gets/sets whether the WindowStyle is None or not.
Gets/sets the window button commands that hosts the min/max/close commands.
Gets/sets the brush used for the Window's title bar.
Gets/sets whether the window's entrance transition animation is enabled.
public MetroWindow()
Initializes a new instance of the MahApps.Metro.Controls.MetroWindow class.
Gets the window placement settings (can be overwritten).
Begins to hide the MetroWindow's overlay effect.
Clears the stored element which would get the focus after closing a dialog.
Begins to show the MetroWindow's overlay effect.
Stores the given element, or the last focused element via FocusManager, for restoring the focus after closing a dialog.