TabControl::TabStripPlacement Property
.NET Framework (current version)
Gets or sets how tab headers align relative to the tab content.
Assembly: PresentationFramework (in PresentationFramework.dll)
The following example creates a tab control that positions the tabs on the left side.
<TabControl TabStripPlacement="Left" Margin="0, 0, 0, 10"> <TabItem Name="fontweight" Header="FontWeight"> <TabItem.Content> <TextBlock TextWrapping="WrapWithOverflow"> FontWeight property information goes here. </TextBlock> </TabItem.Content> </TabItem> <TabItem Name="fontsize" Header="FontSize"> <TabItem.Content> <TextBlock TextWrapping="WrapWithOverflow"> FontSize property information goes here. </TextBlock> </TabItem.Content> </TabItem> </TabControl>
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Available since 3.0
Silverlight
Available since 2.0
Show: