IDocumentGroupProperties.PinPageButtonShowMode Property
Gets or sets which tab headers within the current TabbedView should display their Pin Buttons.
Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
PinPageButtonShowMode PinPageButtonShowMode { get; set; }
#Property Value
Type | Description |
---|---|
Pin |
A Pin |
Available values:
Name | Description |
---|---|
Default | A Default value. Acts identically to the Pin |
In |
All existing tab headers should display a pin button. |
In |
Only an active tab page header should display a Pin Button. |
In |
Only active and hovered tab headers should display a pin button. |
#Remarks
The IDocumentProperties.AllowPin property specifies whether any Document within a TabbedView can be pinned. When this feature is enabled, use the IDocumentProperties.ShowPinButton property to specify Pin Button visibility. If Pin Buttons are not hidden, you can specify whether only active, active and focused or all tab headers should display their Pin Buttons via the PinPageButtonShowMode property. This property can be overridden for individual DocumentGroups via the IDocumentGroupDefaultProperties.PinPageButtonShowMode property.
Use the Document.Pinned property to pin/unpin Documents in code.