TabItem.TabStripPlacement Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the tab strip placement.
public:
property System::Windows::Controls::Dock TabStripPlacement { System::Windows::Controls::Dock get(); };
public System.Windows.Controls.Dock TabStripPlacement { get; }
member this.TabStripPlacement : System.Windows.Controls.Dock
Public ReadOnly Property TabStripPlacement As Dock
Property Value
One of the Dock values. The default is Top.
Examples
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";
}
If tabItem1.TabStripPlacement = Dock.Left Then
btnPlacement.Content = "TabItems are placed on the left"
End If
Remarks
This property cannot be set. It gets its value from the TabControl.TabStripPlacement property of the parent TabControl.
Dependency Property Information
Identifier field | TabStripPlacementProperty |
Metadata properties set to true |
None |
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.