TabItem.TabStripPlacement Property


Gets the tab strip placement.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public ReadOnly Property TabStripPlacement As Dock

Property Value

Type: System.Windows.Controls.Dock

One of the Dock values. The default is Dock.Top.

This property cannot be set. It gets its value from the TabControl.TabStripPlacement property of the parent TabControl.

Identifier field


Metadata properties set to true


The following example shows how to retrieve TabStripPlacement information about a TabItem.

If tabItem1.TabStripPlacement = Dock.Left Then
    btnPlacement.Content = "TabItems are placed on the left"
End If

.NET Framework
Available since 3.0
Available since 2.0
Return to top