In This Article

ChromedTitleBar.ChromedTitleBarTemplateSettings Class

Provides calculated values for use with the ChromedTitleBar's control theme or template.

public class ChromedTitleBar.ChromedTitleBarTemplateSettings : AvaloniaObject
Inheritance:
object AvaloniaObject object

Remarks

This class is NOT intended for general use outside of control templates.

Constructors

ChromedTitleBarTemplateSettings()

Initializes an instance of the class.

public ChromedTitleBarTemplateSettings()

Properties

IsCloseButtonVisible

Indicates whether the window's close button is visible.

public bool IsCloseButtonVisible { get; set; }

Property Value

bool:

The default value is true.

IsFullScreenButtonVisible

Indicates whether the window's full screen button is visible.

public bool IsFullScreenButtonVisible { get; set; }

Property Value

bool:

The default value is false.

IsMaximizeButtonVisible

Indicates whether the window's maximize button is visible.

public bool IsMaximizeButtonVisible { get; set; }

Property Value

bool:

The default value is false.

IsMinimizeButtonVisible

Indicates whether the window's minimize button is visible.

public bool IsMinimizeButtonVisible { get; set; }

Property Value

bool:

The default value is false.

IsRestoreButtonVisible

Indicates whether the window's restore button is visible.

public bool IsRestoreButtonVisible { get; set; }

Property Value

bool:

The default value is false.

Fields

IsCloseButtonVisibleProperty

Defines the IsCloseButtonVisible property.

public static readonly StyledProperty<bool> IsCloseButtonVisibleProperty

IsFullScreenButtonVisibleProperty

Defines the IsRestoreButtonVisible property.

public static readonly StyledProperty<bool> IsFullScreenButtonVisibleProperty

IsMaximizeButtonVisibleProperty

Defines the IsMaximizeButtonVisible property.

public static readonly StyledProperty<bool> IsMaximizeButtonVisibleProperty

IsMinimizeButtonVisibleProperty

Defines the IsMinimizeButtonVisible property.

public static readonly StyledProperty<bool> IsMinimizeButtonVisibleProperty

IsRestoreButtonVisibleProperty

Defines the IsRestoreButtonVisible property.

public static readonly StyledProperty<bool> IsRestoreButtonVisibleProperty

Inherited Members

Extension Methods