TabLayout

public sealed class TabLayout
An ordered collection of TabGroup and TabLabel instances created during a TabControl layout cycle.

Properties

Elements

#
Enumerate over all elements in this collection.
public IEnumerable<object> Elements { get; }

Groups

#
Enumerate over all groups in this collection.
public IEnumerable<TabGroup> Groups { get; }

IsEmpty

#
Gets whether the layout is currently empty.
public bool IsEmpty { get; }

Labels

#
Enumerate over all labels in this collection.
public IEnumerable<TabLabel> Labels { get; }

Methods

Add

#
Add a group to this collection.
public void Add(
group
)

Add

#
Add a label to this collection.
public void Add(
label
)

Clear

#
Clear all labels and groups.
public void Clear()

DrawActiveTabShape

#
Draw the shape of the active tab.
public void DrawActiveTabShape(
context,
tab,
RectangleF
content
)

DrawLabelsAndGroups

#
Draw the labels, groups and active tab slab.
public void DrawLabelsAndGroups(
context
)