Back to Devexpress

IDocumentGroupDefaultProperties.PinPageButtonShowMode Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-idocumentgroupdefaultproperties-24fbc67a.md

latest3.8 KB
Original Source

IDocumentGroupDefaultProperties.PinPageButtonShowMode Property

Gets or sets which tab headers within the current DocumentGroup should display their Pin Buttons.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
PinPageButtonShowMode PinPageButtonShowMode { get; set; }
vb
Property PinPageButtonShowMode As PinPageButtonShowMode

Property Value

TypeDescription
PinPageButtonShowMode

A PinPageButtonShowMode enumerator value that specifies which tab headers within the current DocumentGroup should display their Pin Buttons.

|

Available values:

NameDescription
Default

A Default value. Acts identically to the PinPageButtonShowMode.InActiveTabPageHeaderAndOnMouseHover value.

| | InAllTabPageHeaders |

All existing tab headers should display a pin button.

| | InActiveTabPageHeader |

Only an active tab page header should display a Pin Button.

| | InActiveTabPageHeaderAndOnMouseHover |

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 Buttons 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 IDocumentGroupProperties.PinPageButtonShowMode property. This property can be overridden for individual DocumentGroups via the PinPageButtonShowMode property.

Use the Document.Pinned property to pin/unpin Documents in code.

See Also

AllowPin

ShowPinButton

PinPageButtonShowMode

Pinned

IDocumentGroupDefaultProperties Interface

IDocumentGroupDefaultProperties Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace