TabLabel

References
public sealed class TabLabel
Represents the clickable label of a TabControl.

Constructors

TabLabel

#
public TabLabel(CompositionChapter chapter)
Create a new tab label.
chapter (CompositionChapter)

Properties

Bounds

#
public RectangleF Bounds { get; }
Gets the bounds of this label on the TabControl. This property is assigned during every proxy panel layout.

Chapter

#
public CompositionChapter Chapter { get; }
Gets the text to display

DisplayName

#
public string DisplayName { get; }

Size

#
public SizeF Size { get; }
Gets the size used for the whole label. Including padding and rounding.

Visible

#
public bool Visible { get; }
Gets the visibility of this label on the TabControl. This property is assigned during every proxy panel layout.

Methods

Expand

#
public void Expand()
Begins the expansion animation.

Lower

#
public void Lower()
Begins the lowering animation.

Raise

#
public void Raise()
Begins the raising animation.

Shrink

#
public void Shrink()
Begins the shrinking animation.