FluentWindow class¶
Attributes: [ToolboxItem(true)] [ToolboxBitmap]
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.FluentWindow
Modifiers: public
Summary¶
A custom WinUI Window with more convenience methods.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class FluentWindow
class Window
Window <|-- FluentWindow
class ICanShowMessages {
<>
}
ICanShowMessages <|.. FluentWindow
Inherits from: Window
Implements: ICanShowMessages
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [FluentWindow](# class. |
Properties¶
| Name | Summary |
|---|---|
| WindowCornerPreference | Gets or sets a value determining corner preference for current [Window](# |
| WindowBackdropType | Gets or sets a value determining preferred backdrop type for current [Window](# |
| ExtendsContentIntoTitleBar | Gets or sets a value indicating whether gets or sets a value that specifies whether the default title bar of the window should be hidden to create space for app content. |
| InteropHelper | Gets contains helper for accessing this window handle. |
Fields¶
| Name | Summary |
|---|---|
| static WindowCornerPreferenceProperty | Property for [WindowCornerPreference](# |
| static WindowBackdropTypeProperty | Property for [WindowBackdropType](# |
| static ExtendsContentIntoTitleBarProperty | Property for [ExtendsContentIntoTitleBar](# |
Methods¶
| Name | Summary |
|---|---|
| OnSourceInitialized | |
| OnCornerPreferenceChanged | This virtual method is called when [WindowCornerPreference](# is changed. |
| OnBackdropTypeChanged | This virtual method is called when [WindowBackdropType](# is changed. |
| OnExtendsContentIntoTitleBarChanged | This virtual method is called when [ExtendsContentIntoTitleBar](# is changed. |