WindowChrome Class
Provides attached functionality to alter the chrome of a window.
public class WindowChrome : Freezable
- Inheritance:
- object object
- Derived:
- RibbonWindowChrome
Constructors
WindowChrome()
Initializes a new instance of the WindowChrome
class.
public WindowChrome()
Properties
BackdropKind
Gets or sets 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 isNone
.
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
Gets or sets 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 istrue
.
Remarks
A toolbar control is any control with an WindowChrome.ElementKind
attached property value of ToolBar.
CloseCommand
Gets the ICommand used to close a window.
public static ICommand CloseCommand { get; }
Property Value
CornerKind
Gets or sets 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
This 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 this property setting.
HasCloseButton
Gets or sets 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 istrue
.
HasIcon
Gets or sets 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 istrue
.
HasMaximizeButton
Gets or sets 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 isnull
, meaning base the value on the window'sResizeMode
setting.
HasMinimizeButton
Gets or sets 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 isnull
, meaning base the value on the window'sResizeMode
setting.
HasOuterGlow
Gets or sets 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 isnull
, meaning use the current theme's default.
Remarks
When this 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.
This HasOuterGlow
property can be kept true
to ensure that window resizing can still occur over the system-rendered drop shadow.
HasRestoreButton
Gets or sets 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 isnull
, meaning base the value on the window'sResizeMode
setting.
HasTitleBar
Gets or sets 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 istrue
.
IconMargin
Gets or sets the window's icon margin.
public Thickness IconMargin { get; set; }
Property Value
- Thickness:
The window's icon margin. The default value is
8, 2, 8, 2
.
IconSource
Gets or sets 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:
The window's icon ImageSource, if an alternative one should be used instead of the window's
Icon
property.
MaximizeCommand
Gets the ICommand used to maximize a window.
public static ICommand MaximizeCommand { get; }
Property Value
MinimizeCommand
Gets the ICommand used to minimize a window.
public static ICommand MinimizeCommand { get; }
Property Value
MoveCommand
Gets the ICommand used to move a window.
public static ICommand MoveCommand { get; }
Property Value
OverlayContentTemplate
Gets or sets 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:
The optional DataTemplate for displaying content over the entire window when the
IsOverlayVisible
attached property istrue
.
OverlayContentTemplateSelector
Gets or sets 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:
The optional DataTemplateSelector for displaying content over the entire window when the
IsOverlayVisible
attached property istrue
.
ResizeBorderThickness
Gets or sets the window's resize border thickness.
public Thickness? ResizeBorderThickness { get; set; }
Property Value
- Thickness?:
The window's resize border thickness. The default value is
null
, meaning use the current theme's default.
RestoreCommand
Gets the ICommand used to restore a window.
public static ICommand RestoreCommand { get; }
Property Value
SizeCommand
Gets the ICommand used to size a window.
public static ICommand SizeCommand { get; }
Property Value
StyleKey
Gets or sets the optional resource key that references the Style
to assign to windows using this chrome.
public object StyleKey { get; set; }
Property Value
- object:
The optional resource key that references the
Style
to assign to windows using this chrome.
SystemResizeBorderThickness
Gets the system window resize border thickness.
public static Thickness SystemResizeBorderThickness { get; }
Property Value
- Thickness:
The system window resize border thickness.
SystemTitleBarCaptionButtonMargin
Gets 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:
The margin for the title bar content presenter that is needed to avoid overlapping system title bar buttons.
TitleBarHeaderAlignment
Gets or sets the HorizontalAlignment of the title bar header.
public HorizontalAlignment TitleBarHeaderAlignment { get; set; }
Property Value
- HorizontalAlignment:
The optional HorizontalAlignment of the title bar header. The default value is
Left
.
TitleBarHeaderMargin
Gets or sets the title bar header's margin.
public Thickness TitleBarHeaderMargin { get; set; }
Property Value
- Thickness:
The title bar header's margin. 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
Gets or sets 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 title bar header minimum width, when not all title bar elements fit in the available space. The default value is
50
.
TitleBarHeaderTemplate
Gets or sets the DataTemplate for the center title bar area where title bar text is typically displayed.
public DataTemplate TitleBarHeaderTemplate { get; set; }
Property Value
- DataTemplate:
The DataTemplate for the center title bar area where title bar text is typically displayed.
TitleBarHeaderTemplateSelector
Gets or sets the DataTemplateSelector for the center title bar area where title bar text is typically displayed.
public DataTemplateSelector TitleBarHeaderTemplateSelector { get; set; }
Property Value
- DataTemplateSelector:
The DataTemplateSelector for the center title bar area where title bar text is typically displayed.
TitleBarLeftContentMaxWidthOverflowPercentage
Gets or sets 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:
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. Must be a percentage value between
0.0
and1.0
. The default value is0.3
.
TitleBarLeftContentTemplate
Gets or sets 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:
The optional DataTemplate that can inject additional controls in the left side of the title bar, next to the icon.
TitleBarLeftContentTemplateSelector
Gets or sets 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:
The optional DataTemplateSelector that can inject additional controls in the left side of the title bar, next to the icon.
TitleBarMergeKind
Gets or sets 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:
A WindowChromeTitleBarMergeKind indicating the kind of merge that the window content area performs into the title bar areas. The default value is
None
.
TitleBarRightContentMaxWidthOverflowPercentage
Gets or sets 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:
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. Must be a percentage value between
0.0
and1.0
. The default value is0.3
.
TitleBarRightContentTemplate
Gets or sets 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:
The optional DataTemplate that can inject additional controls in the right side of the title bar, next to the system title bar buttons.
TitleBarRightContentTemplateSelector
Gets or sets 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:
The optional DataTemplateSelector that can inject additional controls in the right side of the title bar, next to the system title bar buttons.
ToggleIsOverlayVisibleCommand
Gets the ICommand used to toggle the IsOverlayVisible
attached property on a window.
public static ICommand ToggleIsOverlayVisibleCommand { get; }
Property Value
Methods
CreateInstanceCore()
Creates a new instance of the class.
protected override Freezable CreateInstanceCore()
Returns
- Freezable:
The new instance.
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:
The object's value.
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:
The object's value.
Remarks
This 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:
The object's value.
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:
The object's value.
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:
The object's value.
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:
The object's value.
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:
The object's value.
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:
The object's value.
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
Remarks
This 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:
The object's value.
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:
The object's value.
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:
The object's value.
Remarks
This 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:
The object's value.
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:
The object's value.
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:
The object's value.
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:
The object's value.
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:
The object's value.
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:
The object's value.
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:
The object's value.
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:
The object's value.
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
This 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
This 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 |
style | WindowStyle | The |
Remarks
This 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.
TitleBarContextMenuRequested
Occurs when a title bar context menu is requested.
public event EventHandler<CancelRoutedEventArgs> TitleBarContextMenuRequested
Event Type
WindowBoundsChanged
Occurs after the bounds of the window has changed due to end user interaction.
public event EventHandler<WindowBoundsChangeEventArgs> WindowBoundsChanged
Event Type
WindowBoundsChanging
Occurs before the bounds of the window is changed due to end user interaction.
public event EventHandler<WindowBoundsChangeEventArgs> WindowBoundsChanging
Event Type
WindowSystemMenuOpening
Occurs when a window system menu is opening, allowing for customization before it is displayed.
public event EventHandler<ContextMenuOpeningEventArgs> WindowSystemMenuOpening
Event Type
Fields
BackdropKindProperty
Identifies the BackdropKind dependency property. This field is read-only.
public static readonly DependencyProperty BackdropKindProperty
CanMouseActivateOverToolBarProperty
Identifies the CanMouseActivateOverToolBar dependency property. This field is read-only.
public static readonly DependencyProperty CanMouseActivateOverToolBarProperty
ChromeProperty
Identifies the Chrome
dependency property. This field is read-only.
public static readonly DependencyProperty ChromeProperty
CornerKindProperty
Identifies the CornerKind dependency property. This field is read-only.
public static readonly DependencyProperty CornerKindProperty
ElementKindProperty
Identifies the ElementKind
dependency property. This field is read-only.
public static readonly DependencyProperty ElementKindProperty
HasCloseButtonProperty
Identifies the HasCloseButton dependency property. This field is read-only.
public static readonly DependencyProperty HasCloseButtonProperty
HasIconProperty
Identifies the HasIcon dependency property. This field is read-only.
public static readonly DependencyProperty HasIconProperty
HasMaximizeButtonProperty
Identifies the HasMaximizeButton dependency property. This field is read-only.
public static readonly DependencyProperty HasMaximizeButtonProperty
HasMinimizeButtonProperty
Identifies the HasMinimizeButton dependency property. This field is read-only.
public static readonly DependencyProperty HasMinimizeButtonProperty
HasOuterGlowProperty
Identifies the HasOuterGlow dependency property. This field is read-only.
public static readonly DependencyProperty HasOuterGlowProperty
HasRestoreButtonProperty
Identifies the HasRestoreButton dependency property. This field is read-only.
public static readonly DependencyProperty HasRestoreButtonProperty
HasTitleBarProperty
Identifies the HasTitleBar dependency property. This field is read-only.
public static readonly DependencyProperty HasTitleBarProperty
IconMarginProperty
Identifies the IconMargin dependency property. This field is read-only.
public static readonly DependencyProperty IconMarginProperty
IconSourceProperty
Identifies the IconSource dependency property. This field is read-only.
public static readonly DependencyProperty IconSourceProperty
IsBackdropActiveProperty
Identifies the IsBackdropActive
dependency property. This field is read-only.
public static readonly DependencyProperty IsBackdropActiveProperty
IsOverlayFocusScopeProperty
Identifies the IsOverlayFocusScope
dependency property. This field is read-only.
public static readonly DependencyProperty IsOverlayFocusScopeProperty
IsOverlayVisibleChangedEvent
Identifies the IsOverlayVisibleChanged
routed event. This field is read-only.
public static readonly RoutedEvent IsOverlayVisibleChangedEvent
IsOverlayVisibleProperty
Identifies the IsOverlayVisible
dependency property. This field is read-only.
public static readonly DependencyProperty IsOverlayVisibleProperty
IsPointerOverProperty
Identifies the IsPointerOver
dependency property. This field is read-only.
public static readonly DependencyProperty IsPointerOverProperty
IsTaskbarAutoHiddenProperty
Identifies the IsTaskbarAutoHidden
dependency property. This field is read-only.
public static readonly DependencyProperty IsTaskbarAutoHiddenProperty
IsTitleBarBackdropAllowedProperty
Identifies the IsTitleBarBackdropAllowed
dependency property. This field is read-only.
public static readonly DependencyProperty IsTitleBarBackdropAllowedProperty
OverlayAnimationKindsProperty
Identifies the OverlayAnimationKinds
dependency property. This field is read-only.
public static readonly DependencyProperty OverlayAnimationKindsProperty
OverlayContentProperty
Identifies the OverlayContent
dependency property. This field is read-only.
public static readonly DependencyProperty OverlayContentProperty
OverlayContentTemplateProperty
Identifies the OverlayContentTemplate dependency property. This field is read-only.
public static readonly DependencyProperty OverlayContentTemplateProperty
OverlayContentTemplateSelectorProperty
Identifies the OverlayContentTemplateSelector dependency property. This field is read-only.
public static readonly DependencyProperty OverlayContentTemplateSelectorProperty
ResizeBorderThicknessProperty
Identifies the ResizeBorderThickness dependency property. This field is read-only.
public static readonly DependencyProperty ResizeBorderThicknessProperty
StyleKeyProperty
Identifies the StyleKey dependency property. This field is read-only.
public static readonly DependencyProperty StyleKeyProperty
ThemeNameProperty
Identifies the ThemeName
dependency property. This field is read-only.
public static readonly DependencyProperty ThemeNameProperty
TitleBarContextMenuRequestedEvent
Identifies the TitleBarContextMenuRequested
routed event. This field is read-only.
public static readonly RoutedEvent TitleBarContextMenuRequestedEvent
TitleBarHeaderAlignmentProperty
Identifies the TitleBarHeaderAlignment dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarHeaderAlignmentProperty
TitleBarHeaderMarginProperty
Identifies the TitleBarHeaderMargin dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarHeaderMarginProperty
TitleBarHeaderMinWidthProperty
Identifies the TitleBarHeaderMinWidth
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarHeaderMinWidthProperty
TitleBarHeaderProperty
Identifies the TitleBarHeader
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarHeaderProperty
TitleBarHeaderTemplateProperty
Identifies the TitleBarHeaderTemplate dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarHeaderTemplateProperty
TitleBarHeaderTemplateSelectorProperty
Identifies the TitleBarHeaderTemplateSelector dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarHeaderTemplateSelectorProperty
TitleBarHeightProperty
Identifies the TitleBarHeight
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarHeightProperty
TitleBarLeftContentMaxWidthOverflowPercentageProperty
Identifies the TitleBarLeftContentMaxWidthOverflowPercentage
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarLeftContentMaxWidthOverflowPercentageProperty
TitleBarLeftContentProperty
Identifies the TitleBarLeftContent
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarLeftContentProperty
TitleBarLeftContentTemplateProperty
Identifies the TitleBarLeftContentTemplate dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarLeftContentTemplateProperty
TitleBarLeftContentTemplateSelectorProperty
Identifies the TitleBarLeftContentTemplateSelector dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarLeftContentTemplateSelectorProperty
TitleBarLeftContentWidthProperty
Identifies the TitleBarLeftContentWidth
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarLeftContentWidthProperty
TitleBarMergeKindProperty
Identifies the TitleBarMergeKind dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarMergeKindProperty
TitleBarMinHeightProperty
Identifies the TitleBarMinHeight
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarMinHeightProperty
TitleBarRightContentMaxWidthOverflowPercentageProperty
Identifies the TitleBarRightContentMaxWidthOverflowPercentage
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarRightContentMaxWidthOverflowPercentageProperty
TitleBarRightContentProperty
Identifies the TitleBarRightContent
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarRightContentProperty
TitleBarRightContentTemplateProperty
Identifies the TitleBarRightContentTemplate dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarRightContentTemplateProperty
TitleBarRightContentTemplateSelectorProperty
Identifies the TitleBarRightContentTemplateSelector dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarRightContentTemplateSelectorProperty
TitleBarRightContentWidthProperty
Identifies the TitleBarRightContentWidth
dependency property. This field is read-only.
public static readonly DependencyProperty TitleBarRightContentWidthProperty
UseAlternateTitleBarStyleProperty
Identifies the UseAlternateTitleBarStyle
dependency property. This field is read-only.
public static readonly DependencyProperty UseAlternateTitleBarStyleProperty
WindowBoundsChangedEvent
Identifies the WindowBoundsChanged
routed event. This field is read-only.
public static readonly RoutedEvent WindowBoundsChangedEvent
WindowBoundsChangingEvent
Identifies the WindowBoundsChanging
routed event. This field is read-only.
public static readonly RoutedEvent WindowBoundsChangingEvent
WindowSystemMenuOpeningEvent
Identifies the WindowSystemMenuOpening
routed event. This field is read-only.
public static readonly RoutedEvent WindowSystemMenuOpeningEvent