PanelHeader

Represents a panel header.

Represents a panel header.

Constructors

public PanelHeader(string text, Justify? alignment = default)

Initializes a new instance of the PanelHeader class.

Parameters:

text (string)
The panel header text.
alignment (Justify?)
The panel header alignment.

Properties

Justification : Justify?

Gets or sets the panel header alignment.

Text : string

Gets the panel header text.

Methods

public PanelHeader SetAlignment(Justify alignment)

Sets the panel header alignment.

Parameters:

alignment (Justify)
The panel header alignment.

Returns:

The same instance so that multiple calls can be chained.

public PanelHeader SetStyle(string style)

Sets the panel header style.

Parameters:

style (string)
The panel header style.

Returns:

The same instance so that multiple calls can be chained.