In This Article

TabStripTabExtensions Class

Provides extension methods for the types related to TabStripTab.

public static class TabStripTabExtensions
Inheritance:
object object

Methods

IsHorizontal(TabStripTabAlignment)

Tests if the orientation of a TabStrip that corresponds to the specified TabStripTabAlignment is horizontally oriented.

public static bool IsHorizontal(this TabStripTabAlignment value)
Parameter Type Description
value TabStripTabAlignment

The TabStripTabAlignment to examine.

Returns

bool:

true if the orientation is horizontal; otherwise, false.

IsVertical(TabStripTabAlignment)

Tests if the orientation of a TabStrip that corresponds to the specified TabStripTabAlignment is vertically oriented.

public static bool IsVertical(this TabStripTabAlignment value)
Parameter Type Description
value TabStripTabAlignment

The TabStripTabAlignment to examine.

Returns

bool:

true if the orientation is vertical; otherwise, false.

ToOrientation(TabStripTabAlignment)

Gets the Orientation of a TabStrip that corresponds to the specified TabStripTabAlignment.

public static Orientation ToOrientation(this TabStripTabAlignment value)
Parameter Type Description
value TabStripTabAlignment

The TabStripTabAlignment to examine.

Returns

Orientation:

The Orientation value that corresponds to the specified TabStripTabAlignment.

ToSide(TabStripTabAlignment)

Gets the Sides value that corresponds to the specified TabStripTabAlignment.

public static Sides ToSide(this TabStripTabAlignment value)
Parameter Type Description
value TabStripTabAlignment

The TabStripTabAlignment to examine.

Returns

Sides:

One of the Sides values that corresponds to the specified TabStripTabAlignment.

Inherited Members