This topic has not yet been rated - Rate this topic

TabItem.TabStripPlacement Property

Gets the tab strip placement. This is a dependency property.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
public Dock TabStripPlacement { get; }
You cannot set this property in XAML.

Property Value

Type: System.Windows.Controls.Dock
One of the Dock values. The default is Dock.Top.

Identifier field

TabStripPlacementProperty

Metadata properties set to true

None

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

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";
  }

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.