TabStripPlacement Property
Collapse the table of content
Expand the table of content

TabItem.TabStripPlacement Property


Gets the tab strip placement.

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

public Dock TabStripPlacement { get; }

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)
   btnPlacement.Content = "TabItems are placed on the left";

.NET Framework
Available since 3.0
Available since 2.0
Return to top
© 2015 Microsoft