Skip to main content

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

Declaration

PinPageButtonShowMode PinPageButtonShowMode { get; set; }

Property Value

Type Description
PinPageButtonShowMode

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

Available values:

Name Description
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 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.

See Also