Skip to content

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

NameSummary
.ctor

Properties

NameSummary
TitleGets or sets the title.
HeaderGets or sets the header.
ButtonsForegroundGets or sets the buttons foreground.
ButtonsBackgroundGets or sets the buttons background.
IsMaximizedGets or sets a value indicating whether the window is maximized.
ShowMaximizeGets or sets a value indicating whether to show maximize button.
ShowMinimizeGets or sets a value indicating whether to show minimize button.
ShowCloseGets or sets a value indicating whether to show close button.
IconGets or sets the icon.

Fields

NameSummary
static TitlePropertyProperty for [Title](#
static HeaderPropertyProperty for [Header](#
static ButtonsForegroundPropertyProperty for [ButtonsForeground](#
static ButtonsBackgroundPropertyProperty for [ButtonsBackground](#
static IsMaximizedPropertyProperty for [IsMaximized](#
static ShowMaximizePropertyProperty for [ShowMaximize](#
static ShowMinimizePropertyProperty for [ShowMinimize](#
static ShowClosePropertyProperty for [ShowClose](#
static IconPropertyProperty for [Icon](#
Inherited members