TitleBar class¶
Defined in
Namespace: CrissCross.Avalonia.UI.Controls
Assembly: CrissCross.Avalonia.UI.dll
Full name: CrissCross.Avalonia.UI.Controls.TitleBar
Modifiers: public
Summary¶
Custom navigation buttons for the window.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471
Class hierarchy
classDiagram
class TitleBar
class TemplatedControl
TemplatedControl <|-- TitleBar
Inherits from: TemplatedControl
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| Title | Gets or sets the title. |
| Header | Gets or sets the header. |
| ButtonsForeground | Gets or sets the buttons foreground. |
| ButtonsBackground | Gets or sets the buttons background. |
| IsMaximized | Gets or sets a value indicating whether the window is maximized. |
| ShowMaximize | Gets or sets a value indicating whether to show maximize button. |
| ShowMinimize | Gets or sets a value indicating whether to show minimize button. |
| ShowClose | Gets or sets a value indicating whether to show close button. |
| Icon | Gets or sets the icon. |
Fields¶
| Name | Summary |
|---|---|
| static TitleProperty | Property for [Title](# |
| static HeaderProperty | Property for [Header](# |
| static ButtonsForegroundProperty | Property for [ButtonsForeground](# |
| static ButtonsBackgroundProperty | Property for [ButtonsBackground](# |
| static IsMaximizedProperty | Property for [IsMaximized](# |
| static ShowMaximizeProperty | Property for [ShowMaximize](# |
| static ShowMinimizeProperty | Property for [ShowMinimize](# |
| static ShowCloseProperty | Property for [ShowClose](# |
| static IconProperty | Property for [Icon](# |