Class
TabStripPanel

The panel used for arranging the TabItems of the TabStrip in the TabControl.

Definition

Namespace:Telerik.Windows.Controls.Primitives

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class TabStripPanel : Panel

Inheritance: objectTabStripPanel

Derived Classes: TabWrapPanel

Constructors

TabStripPanel()

Declaration

cs-api-definition
public TabStripPanel()

Fields

AlignProperty

Identifies the Align property.

Declaration

cs-api-definition
public static readonly DependencyProperty AlignProperty

Field Value

DependencyProperty

AllTabsEqualHeightProperty

Identifies the AllTabsEqualHeight property.

Declaration

cs-api-definition
public static readonly DependencyProperty AllTabsEqualHeightProperty

Field Value

DependencyProperty

RearrangeTabsProperty

Identifies the RearrangeTabs property.

Declaration

cs-api-definition
public static readonly DependencyProperty RearrangeTabsProperty

Field Value

DependencyProperty

TabStripPlacementProperty

Identifies the TabStripPlacement property.

Declaration

cs-api-definition
public static readonly DependencyProperty TabStripPlacementProperty

Field Value

DependencyProperty

Properties

Align

Gets or sets the align of the items.

Declaration

cs-api-definition
public TabStripAlign Align { get; set; }

Property Value

TabStripAlign

AllTabsEqualHeight

Gets or sets a value indicating whether all tabs should be of equal height.

Declaration

cs-api-definition
public bool AllTabsEqualHeight { get; set; }

Property Value

bool

RearrangeTabs

Gets or sets a value indicating whether the selected item should be closest to the contents.

Declaration

cs-api-definition
public bool RearrangeTabs { get; set; }

Property Value

bool

TabStripPlacement

Gets or sets a value indicating where TabStrip is position with regard to its content.

Declaration

cs-api-definition
public Dock TabStripPlacement { get; set; }

Property Value

Dock

Methods

ArrangeOverride(Size)

When implemented in a derived class, provides the behavior for the "Arrange" layout pass.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

The final area within the parent that this element should use to arrange itself and its children.

Returns

Size

The actual size used.

MeasureOverride(Size)

When implemented in a derived class, provides the behavior for the "Measure" layout pass.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Justification = "The method will be refactored.")]
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

Returns

Size

The size that this element determines it needs during layout, based on its calculations of child element sizes.