In This Article

WindowChrome Class

Provides attached functionality to alter the chrome of a window.

public class WindowChrome : Freezable
Inheritance:
object object
Derived:
RibbonWindowChrome

Constructors

WindowChrome()

Initializes an instance of the class.

public WindowChrome()

Properties

BackdropKind

The kind of system-rendered backdrop, which can render special effects over the transparent background portion of a Window.

public WindowChromeBackdropKind BackdropKind { get; set; }

Property Value

WindowChromeBackdropKind:

A WindowChromeBackdropKind indicating the kind of system-rendered backdrop, which can render special effects over the transparent background portion of a Window. The default value is None.

Remarks

See the WindowChromeBackdropKind enumeration documentation for which Windows versions support its various options. If a backdrop kind is not supported on the current operating system, the Window will use an opaque background.

CanMouseActivateOverToolBar

Indicates whether a mouse click on a toolbar control can activate the chromed window.

public bool CanMouseActivateOverToolBar { get; set; }

Property Value

bool:

true if a mouse click on a toolbar control can activate the chromed window; otherwise, false. The default value is true.

Remarks

A toolbar control is any control with an WindowChrome.ElementKind attached property value of ToolBar.

CloseCommand

The ICommand used to close a window.

public static ICommand CloseCommand { get; }

Property Value

ICommand

CornerKind

The kind of system-rendered corner, which can also affect border and drop shadow rendering.

public WindowChromeCornerKind CornerKind { get; set; }

Property Value

WindowChromeCornerKind:

A WindowChromeCornerKind indicating the kind of system-rendered corner, which can also affect border and drop shadow rendering. The default value is Rounded.

Remarks

property only affects Windows 11 or later systems. When set to a non-Square value, the Windows system will apply a corner radius to the window and will render the window's border and drop shadow natively. In that scenario, WindowChrome does not render a drop shadow.

On Windows 10 or earlier systems, the corner kind is always treated as Square regardless of property setting.

HasCloseButton

Indicates whether the window is capable of displaying a close button.

public bool HasCloseButton { get; set; }

Property Value

bool:

true if the window is capable of displaying a close button; otherwise, false. The default value is true.

HasIcon

Indicates whether the window is capable of displaying a title bar icon.

public bool HasIcon { get; set; }

Property Value

bool:

true if the window is capable of displaying a title bar icon; otherwise, false. The default value is true.

HasMaximizeButton

Indicates whether the window is capable of displaying a maximize button.

public bool? HasMaximizeButton { get; set; }

Property Value

bool?:

true if the window is capable of displaying a maximize button; otherwise, false. The default value is null, meaning base the value on the window's ResizeMode setting.

HasMinimizeButton

Indicates whether the window is capable of displaying a minimize button.

public bool? HasMinimizeButton { get; set; }

Property Value

bool?:

true if the window is capable of displaying a minimize button; otherwise, false. The default value is null, meaning base the value on the window's ResizeMode setting.

HasOuterGlow

Indicates whether the window has an outer glow / drop shadow.

public bool? HasOuterGlow { get; set; }

Property Value

bool?:

true if the window has an outer glow / drop shadow; otherwise, false. The default value is null, meaning use the current theme's default.

Remarks

When property resolves to true, WindowChrome will render a drop shadow outside of the normal outer window border and window resizing will be supported over a portion of that shadow.

If on a Windows 11 system or later and the CornerKind property is set to a non-Square value, the Windows system will render the drop shadow natively instead of WindowChrome rendering a drop shadow. HasOuterGlow property can be kept true to ensure that window resizing can still occur over the system-rendered drop shadow.

HasRestoreButton

Indicates whether the window is capable of displaying a restore button.

public bool? HasRestoreButton { get; set; }

Property Value

bool?:

true if the window is capable of displaying a restore button; otherwise, false. The default value is null, meaning base the value on the window's ResizeMode setting.

HasTitleBar

Indicates whether the window is capable of displaying a title bar.

public bool HasTitleBar { get; set; }

Property Value

bool:

true if the window is capable of displaying a title bar; otherwise, false. The default value is true.

IconMargin

The window's icon margin.

public Thickness IconMargin { get; set; }

Property Value

Thickness:

The default value is 8, 2, 8, 2.

IconSource

The window's icon ImageSource, if an alternative one should be used instead of the window's Icon property.

public ImageSource? IconSource { get; set; }

Property Value

ImageSource

MaximizeCommand

The ICommand used to maximize a window.

public static ICommand MaximizeCommand { get; }

Property Value

ICommand

MinimizeCommand

The ICommand used to minimize a window.

public static ICommand MinimizeCommand { get; }

Property Value

ICommand

MoveCommand

The ICommand used to move a window.

public static ICommand MoveCommand { get; }

Property Value

ICommand

OverlayContentTemplate

The optional DataTemplate for displaying content over the entire window when the IsOverlayVisible attached property is true.

public DataTemplate? OverlayContentTemplate { get; set; }

Property Value

DataTemplate

OverlayContentTemplateSelector

The optional DataTemplateSelector for displaying content over the entire window when the IsOverlayVisible attached property is true.

public DataTemplateSelector? OverlayContentTemplateSelector { get; set; }

Property Value

DataTemplateSelector

ResizeBorderThickness

Gets or sets the window's resize border thickness.

public Thickness? ResizeBorderThickness { get; set; }

Property Value

Thickness?:

The default value is null, meaning use the current theme's default.

RestoreCommand

The ICommand used to restore a window.

public static ICommand RestoreCommand { get; }

Property Value

ICommand

SizeCommand

The ICommand used to size a window.

public static ICommand SizeCommand { get; }

Property Value

ICommand

StyleKey

The optional resource key that references the Style to assign to windows using chrome.

public object? StyleKey { get; set; }

Property Value

object

SystemResizeBorderThickness

The system window resize border thickness.

public static Thickness SystemResizeBorderThickness { get; }

Property Value

Thickness

SystemTitleBarCaptionButtonMargin

The margin for the title bar content presenter that is needed to avoid overlapping system title bar buttons.

public static Thickness SystemTitleBarCaptionButtonMargin { get; }

Property Value

Thickness

TitleBarHeaderAlignment

The HorizontalAlignment of the title bar header.

public HorizontalAlignment TitleBarHeaderAlignment { get; set; }

Property Value

HorizontalAlignment:

The default value is Left.

TitleBarHeaderMargin

The title bar header's margin.

public Thickness TitleBarHeaderMargin { get; set; }

Property Value

Thickness:

The default value is 8, 0, 8, 0.

Remarks

The left header margin is collapsed to 0 when there is an icon and no custom left title bar content set. Use the IconMargin property to determine the spacing between the icon and the header in that scenario.

TitleBarHeaderMinWidth

The title bar header minimum width, when not all title bar elements fit in the available space.

public double TitleBarHeaderMinWidth { get; set; }

Property Value

double:

The default value is 50.

TitleBarHeaderTemplate

The DataTemplate for the center title bar area where title bar text is typically displayed.

public DataTemplate? TitleBarHeaderTemplate { get; set; }

Property Value

DataTemplate

TitleBarHeaderTemplateSelector

The DataTemplateSelector for the center title bar area where title bar text is typically displayed.

public DataTemplateSelector? TitleBarHeaderTemplateSelector { get; set; }

Property Value

DataTemplateSelector

TitleBarLeftContentMaxWidthOverflowPercentage

The title bar left content area's maximum width percentage of the total title bar space when not all title bar elements fit in the available space.

public double TitleBarLeftContentMaxWidthOverflowPercentage { get; set; }

Property Value

double:

Must be a percentage value between 0.0 and 1.0. The default value is 0.3.

TitleBarLeftContentTemplate

The optional DataTemplate that can inject additional controls in the left side of the title bar, next to the icon.

public DataTemplate? TitleBarLeftContentTemplate { get; set; }

Property Value

DataTemplate

TitleBarLeftContentTemplateSelector

The optional DataTemplateSelector that can inject additional controls in the left side of the title bar, next to the icon.

public DataTemplateSelector? TitleBarLeftContentTemplateSelector { get; set; }

Property Value

DataTemplateSelector

TitleBarMergeKind

A WindowChromeTitleBarMergeKind indicating the kind of merge that the window content area performs into the title bar areas.

public WindowChromeTitleBarMergeKind TitleBarMergeKind { get; set; }

Property Value

WindowChromeTitleBarMergeKind:

The default value is None.

TitleBarRightContentMaxWidthOverflowPercentage

The title bar right content area's maximum width percentage of the total title bar space when not all title bar elements fit in the available space.

public double TitleBarRightContentMaxWidthOverflowPercentage { get; set; }

Property Value

double:

Must be a percentage value between 0.0 and 1.0. The default value is 0.3.

TitleBarRightContentTemplate

The optional DataTemplate that can inject additional controls in the right side of the title bar, next to the system title bar buttons.

public DataTemplate? TitleBarRightContentTemplate { get; set; }

Property Value

DataTemplate

TitleBarRightContentTemplateSelector

The optional DataTemplateSelector that can inject additional controls in the right side of the title bar, next to the system title bar buttons.

public DataTemplateSelector? TitleBarRightContentTemplateSelector { get; set; }

Property Value

DataTemplateSelector

ToggleIsOverlayVisibleCommand

The ICommand used to toggle the IsOverlayVisible attached property on a window.

public static ICommand ToggleIsOverlayVisibleCommand { get; }

Property Value

ICommand

Methods

CreateInstanceCore()

Creates a new instance of the class.

protected override Freezable CreateInstanceCore()

Returns

Freezable

GetChrome(Window)

Gets the value of the Chrome attached property for the specified object.

public static WindowChrome? GetChrome(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

WindowChrome

GetEffectiveInnerBorderThickness(Window)

Gets the value of the EffectiveInnerBorderThickness attached property for the specified object.

public static Thickness GetEffectiveInnerBorderThickness(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

Thickness

Remarks

This attached property is only intended for usage within window templates.

GetElementKind(UIElement)

Gets the value of the ElementKind attached property for the specified object.

public static WindowChromeElementKind GetElementKind(UIElement element)
Parameter Type Description
element UIElement

The object from which the property value is read.

Returns

WindowChromeElementKind

Remarks

attached property is only intended for usage within window templates.

GetIsBackdropActive(Window)

Gets the value of the IsBackdropActive attached property for the specified object.

public static bool GetIsBackdropActive(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

bool

GetIsOverlayFocusScope(Window)

Gets the value of the IsOverlayFocusScope attached property for the specified object.

public static bool GetIsOverlayFocusScope(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

bool

GetIsOverlayVisible(Window)

Gets the value of the IsOverlayVisible attached property for the specified object.

public static bool GetIsOverlayVisible(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

bool

GetIsPointerOver(ButtonBase)

Gets the value of the IsPointerOver attached property for the specified object.

public static bool GetIsPointerOver(ButtonBase button)
Parameter Type Description
button ButtonBase

The object from which the property value is read.

Returns

bool

GetIsTaskbarAutoHidden(Window)

Gets the value of the IsTaskbarAutoHidden attached property for the specified object.

public static bool GetIsTaskbarAutoHidden(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

bool

GetIsTitleBarBackdropAllowed(Window)

Gets the value of the IsTitleBarBackdropAllowed attached property for the specified object.

public static bool GetIsTitleBarBackdropAllowed(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

bool

GetOuterGlow(Window)

Returns the Window that provides an outer glow for the chromed window.

public static Window? GetOuterGlow(Window window)
Parameter Type Description
window Window

The Window to examine.

Returns

Window

Remarks

method is for internal use only.

GetOverlayAnimationKinds(Window)

Gets the value of the OverlayAnimationKinds attached property for the specified object.

public static OverlayAnimationKinds GetOverlayAnimationKinds(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

OverlayAnimationKinds

GetOverlayContent(Window)

Gets the value of the OverlayContent attached property for the specified object.

public static object? GetOverlayContent(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

object

GetThemeName(Window)

Gets the value of the ThemeName attached property for the specified object.

public static string? GetThemeName(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

string

Remarks

attached property is only intended for usage in detecting theme changes.

GetTitleBarHeader(Window)

Gets the value of the TitleBarHeader attached property for the specified object.

public static object? GetTitleBarHeader(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

object

GetTitleBarHeight(Window)

Gets the value of the TitleBarHeight attached property for the specified object.

public static double GetTitleBarHeight(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

double

GetTitleBarLeftContent(Window)

Gets the value of the TitleBarLeftContent attached property for the specified object.

public static object? GetTitleBarLeftContent(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

object

GetTitleBarLeftContentWidth(Window)

Gets the value of the TitleBarLeftContentWidth attached property for the specified object.

public static double GetTitleBarLeftContentWidth(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

double

GetTitleBarMinHeight(Window)

Gets the value of the TitleBarMinHeight attached property for the specified object.

public static double GetTitleBarMinHeight(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

double

GetTitleBarRightContent(Window)

Gets the value of the TitleBarRightContent attached property for the specified object.

public static object? GetTitleBarRightContent(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

object

GetTitleBarRightContentWidth(Window)

Gets the value of the TitleBarRightContentWidth attached property for the specified object.

public static double GetTitleBarRightContentWidth(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

double

GetUseAlternateTitleBarStyle(Window)

Gets the value of the UseAlternateTitleBarStyle attached property for the specified object.

public static bool GetUseAlternateTitleBarStyle(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

bool

GetUseNativeOuterBorder(Window)

Gets the value of the UseNativeOuterBorder attached property for the specified object.

public static bool GetUseNativeOuterBorder(Window window)
Parameter Type Description
window Window

The object from which the property value is read.

Returns

bool

Remarks

attached property is only intended for usage within window templates.

OpenSystemMenu(FrameworkElement, Point)

Opens the window's Win32 system menu at a location relative to the specified element.

public static void OpenSystemMenu(FrameworkElement element, Point point)
Parameter Type Description
element FrameworkElement

The window itself, or an element within a window, such as a title bar icon.

point Point

The System.Windows.Point at which to display the menu, in coordinates relative to the element.

SetChrome(Window, WindowChrome?)

Sets the value of the Chrome attached property to the specified object.

public static void SetChrome(Window window, WindowChrome? value)
Parameter Type Description
window Window

The object to which the attached property is written.

value WindowChrome

The value to set.

SetElementKind(UIElement, WindowChromeElementKind)

Sets the value of the ElementKind attached property to the specified object.

public static void SetElementKind(UIElement element, WindowChromeElementKind value)
Parameter Type Description
element UIElement

The object to which the attached property is written.

value WindowChromeElementKind

The value to set.

Remarks

attached property is only intended for usage within window templates.

SetIsOverlayFocusScope(Window, bool)

Sets the value of the IsOverlayFocusScope attached property to the specified object.

public static void SetIsOverlayFocusScope(Window window, bool value)
Parameter Type Description
window Window

The object to which the attached property is written.

value bool

The value to set.

SetIsOverlayVisible(Window, bool)

Sets the value of the IsOverlayVisible attached property to the specified object.

public static void SetIsOverlayVisible(Window window, bool value)
Parameter Type Description
window Window

The object to which the attached property is written.

value bool

The value to set.

SetIsTitleBarBackdropAllowed(Window, bool)

Sets the value of the IsTitleBarBackdropAllowed attached property to the specified object.

public static void SetIsTitleBarBackdropAllowed(Window window, bool value)
Parameter Type Description
window Window

The object to which the attached property is written.

value bool

The value to set.

SetOverlayAnimationKinds(Window, OverlayAnimationKinds)

Sets the value of the OverlayAnimationKinds attached property to the specified object.

public static void SetOverlayAnimationKinds(Window window, OverlayAnimationKinds value)
Parameter Type Description
window Window

The object to which the attached property is written.

value OverlayAnimationKinds

The value to set.

SetOverlayContent(Window, object?)

Sets the value of the OverlayContent attached property to the specified object.

public static void SetOverlayContent(Window window, object? value)
Parameter Type Description
window Window

The object to which the attached property is written.

value object

The value to set.

SetThemeName(Window, string?)

Sets the value of the ThemeName attached property to the specified object.

public static void SetThemeName(Window window, string? value)
Parameter Type Description
window Window

The object to which the attached property is written.

value string

The value to set.

Remarks

attached property is only intended for usage in detecting theme changes.

SetTitleBarHeader(Window, object?)

Sets the value of the TitleBarHeader attached property to the specified object.

public static void SetTitleBarHeader(Window window, object? value)
Parameter Type Description
window Window

The object to which the attached property is written.

value object

The value to set.

SetTitleBarLeftContent(Window, object?)

Sets the value of the TitleBarLeftContent attached property to the specified object.

public static void SetTitleBarLeftContent(Window window, object? value)
Parameter Type Description
window Window

The object to which the attached property is written.

value object

The value to set.

SetTitleBarMinHeight(Window, double)

Sets the value of the TitleBarMinHeight attached property to the specified object.

public static void SetTitleBarMinHeight(Window window, double value)
Parameter Type Description
window Window

The object to which the attached property is written.

value double

The value to set.

SetTitleBarRightContent(Window, object?)

Sets the value of the TitleBarRightContent attached property to the specified object.

public static void SetTitleBarRightContent(Window window, object? value)
Parameter Type Description
window Window

The object to which the attached property is written.

value object

The value to set.

SetUseAlternateTitleBarStyle(Window, bool)

Sets the value of the UseAlternateTitleBarStyle attached property to the specified object.

public static void SetUseAlternateTitleBarStyle(Window window, bool value)
Parameter Type Description
window Window

The object to which the attached property is written.

value bool

The value to set.

SetWindowStyle(Window, WindowStyle)

Sets a new WindowStyle for a Window.

public static void SetWindowStyle(Window window, WindowStyle style)
Parameter Type Description
window Window

The Window to update.

style WindowStyle

The WindowStyle to set.

Remarks

method ensure that the proper Win32 styles are also updated to render the chrome correctly.

StartResize(Window, ResizeOperation)

Starts a window resize operation.

public static void StartResize(Window window, ResizeOperation operation)
Parameter Type Description
window Window

The window.

operation ResizeOperation

A ResizeOperation that specifies the type of resize.

Events

IsOverlayVisibleChanged

Occurs when the IsOverlayVisible property changes.

public event RoutedEventHandler? IsOverlayVisibleChanged

Event Type

RoutedEventHandler

TitleBarContextMenuRequested

Occurs when a title bar context menu is requested.

public event EventHandler<CancelRoutedEventArgs>? TitleBarContextMenuRequested

Event Type

EventHandler<CancelRoutedEventArgs>

WindowBoundsChanged

Occurs after the bounds of the window has changed due to end user interaction.

public event EventHandler<WindowBoundsChangeEventArgs>? WindowBoundsChanged

Event Type

EventHandler<WindowBoundsChangeEventArgs>

WindowBoundsChanging

Occurs before the bounds of the window is changed due to end user interaction.

public event EventHandler<WindowBoundsChangeEventArgs>? WindowBoundsChanging

Event Type

EventHandler<WindowBoundsChangeEventArgs>

WindowSystemMenuOpening

Occurs when a window system menu is opening, allowing for customization before it is displayed.

public event EventHandler<ContextMenuOpeningEventArgs>? WindowSystemMenuOpening

Event Type

EventHandler<ContextMenuOpeningEventArgs>

Fields

BackdropKindProperty

Defines the BackdropKind property.

public static readonly DependencyProperty BackdropKindProperty

CanMouseActivateOverToolBarProperty

Defines the CanMouseActivateOverToolBar property.

public static readonly DependencyProperty CanMouseActivateOverToolBarProperty

ChromeProperty

Defines the Chrome property.

public static readonly DependencyProperty ChromeProperty

CornerKindProperty

Defines the CornerKind property.

public static readonly DependencyProperty CornerKindProperty

EffectiveInnerBorderThicknessProperty

Defines the EffectiveInnerBorderThickness property.

public static readonly DependencyProperty EffectiveInnerBorderThicknessProperty

ElementKindProperty

Defines the ElementKind property.

public static readonly DependencyProperty ElementKindProperty

HasCloseButtonProperty

Defines the HasCloseButton property.

public static readonly DependencyProperty HasCloseButtonProperty

HasIconProperty

Defines the HasIcon property.

public static readonly DependencyProperty HasIconProperty

HasMaximizeButtonProperty

Defines the HasMaximizeButton property.

public static readonly DependencyProperty HasMaximizeButtonProperty

HasMinimizeButtonProperty

Defines the HasMinimizeButton property.

public static readonly DependencyProperty HasMinimizeButtonProperty

HasOuterGlowProperty

Defines the HasOuterGlow property.

public static readonly DependencyProperty HasOuterGlowProperty

HasRestoreButtonProperty

Defines the HasRestoreButton property.

public static readonly DependencyProperty HasRestoreButtonProperty

HasTitleBarProperty

Defines the HasTitleBar property.

public static readonly DependencyProperty HasTitleBarProperty

IconMarginProperty

Defines the IconMargin property.

public static readonly DependencyProperty IconMarginProperty

IconSourceProperty

Defines the IconSource property.

public static readonly DependencyProperty IconSourceProperty

IsBackdropActiveProperty

Defines the IsBackdropActive property.

public static readonly DependencyProperty IsBackdropActiveProperty

IsOverlayFocusScopeProperty

Defines the IsOverlayFocusScope property.

public static readonly DependencyProperty IsOverlayFocusScopeProperty

IsOverlayVisibleChangedEvent

Defines the IsOverlayVisibleChanged event.

public static readonly RoutedEvent IsOverlayVisibleChangedEvent

IsOverlayVisibleProperty

Defines the IsOverlayVisible property.

public static readonly DependencyProperty IsOverlayVisibleProperty

IsPointerOverProperty

Defines the IsPointerOver property.

public static readonly DependencyProperty IsPointerOverProperty

IsTaskbarAutoHiddenProperty

Defines the IsTaskbarAutoHidden property.

public static readonly DependencyProperty IsTaskbarAutoHiddenProperty

IsTitleBarBackdropAllowedProperty

Defines the IsTitleBarBackdropAllowed property.

public static readonly DependencyProperty IsTitleBarBackdropAllowedProperty

OverlayAnimationKindsProperty

Defines the OverlayAnimationKinds property.

public static readonly DependencyProperty OverlayAnimationKindsProperty

OverlayContentProperty

Defines the OverlayContent property.

public static readonly DependencyProperty OverlayContentProperty

OverlayContentTemplateProperty

Defines the OverlayContentTemplate property.

public static readonly DependencyProperty OverlayContentTemplateProperty

OverlayContentTemplateSelectorProperty

Defines the OverlayContentTemplateSelector property.

public static readonly DependencyProperty OverlayContentTemplateSelectorProperty

ResizeBorderThicknessProperty

Defines the ResizeBorderThickness property.

public static readonly DependencyProperty ResizeBorderThicknessProperty

StyleKeyProperty

Defines the StyleKey property.

public static readonly DependencyProperty StyleKeyProperty

ThemeNameProperty

Defines the ThemeName property.

public static readonly DependencyProperty ThemeNameProperty

TitleBarContextMenuRequestedEvent

Defines the TitleBarContextMenuRequested event.

public static readonly RoutedEvent TitleBarContextMenuRequestedEvent

TitleBarHeaderAlignmentProperty

Defines the TitleBarHeaderAlignment property.

public static readonly DependencyProperty TitleBarHeaderAlignmentProperty

TitleBarHeaderMarginProperty

Defines the TitleBarHeaderMargin property.

public static readonly DependencyProperty TitleBarHeaderMarginProperty

TitleBarHeaderMinWidthProperty

Defines the TitleBarHeaderMinWidth property.

public static readonly DependencyProperty TitleBarHeaderMinWidthProperty

TitleBarHeaderProperty

Defines the TitleBarHeader property.

public static readonly DependencyProperty TitleBarHeaderProperty

TitleBarHeaderTemplateProperty

Defines the TitleBarHeaderTemplate property.

public static readonly DependencyProperty TitleBarHeaderTemplateProperty

TitleBarHeaderTemplateSelectorProperty

Defines the TitleBarHeaderTemplateSelector property.

public static readonly DependencyProperty TitleBarHeaderTemplateSelectorProperty

TitleBarHeightProperty

Defines the TitleBarHeight property.

public static readonly DependencyProperty TitleBarHeightProperty

TitleBarLeftContentMaxWidthOverflowPercentageProperty

Defines the TitleBarLeftContentMaxWidthOverflowPercentage property.

public static readonly DependencyProperty TitleBarLeftContentMaxWidthOverflowPercentageProperty

TitleBarLeftContentProperty

Defines the TitleBarLeftContent property.

public static readonly DependencyProperty TitleBarLeftContentProperty

TitleBarLeftContentTemplateProperty

Defines the TitleBarLeftContentTemplate property.

public static readonly DependencyProperty TitleBarLeftContentTemplateProperty

TitleBarLeftContentTemplateSelectorProperty

public static readonly DependencyProperty TitleBarLeftContentTemplateSelectorProperty

TitleBarLeftContentWidthProperty

Defines the TitleBarLeftContentWidth property.

public static readonly DependencyProperty TitleBarLeftContentWidthProperty

TitleBarMergeKindProperty

Defines the TitleBarMergeKind property.

public static readonly DependencyProperty TitleBarMergeKindProperty

TitleBarMinHeightProperty

Defines the TitleBarMinHeight property.

public static readonly DependencyProperty TitleBarMinHeightProperty

TitleBarRightContentMaxWidthOverflowPercentageProperty

Defines the TitleBarRightContentMaxWidthOverflowPercentage property.

public static readonly DependencyProperty TitleBarRightContentMaxWidthOverflowPercentageProperty

TitleBarRightContentProperty

Defines the TitleBarRightContent property.

public static readonly DependencyProperty TitleBarRightContentProperty

TitleBarRightContentTemplateProperty

Defines the TitleBarRightContentTemplate property.

public static readonly DependencyProperty TitleBarRightContentTemplateProperty

TitleBarRightContentTemplateSelectorProperty

public static readonly DependencyProperty TitleBarRightContentTemplateSelectorProperty

TitleBarRightContentWidthProperty

Defines the TitleBarRightContentWidth property.

public static readonly DependencyProperty TitleBarRightContentWidthProperty

UseAlternateTitleBarStyleProperty

Defines the UseAlternateTitleBarStyle property.

public static readonly DependencyProperty UseAlternateTitleBarStyleProperty

UseNativeOuterBorderProperty

Defines the UseNativeOuterBorder property.

public static readonly DependencyProperty UseNativeOuterBorderProperty

WindowBoundsChangedEvent

Defines the WindowBoundsChanged event.

public static readonly RoutedEvent WindowBoundsChangedEvent

WindowBoundsChangingEvent

Defines the WindowBoundsChanging event.

public static readonly RoutedEvent WindowBoundsChangingEvent

WindowSystemMenuOpeningEvent

Defines the WindowSystemMenuOpening event.

public static readonly RoutedEvent WindowSystemMenuOpeningEvent

Extension Methods