Back to Devexpress

IDocumentProperties.AllowPin Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-idocumentproperties.md

latest3.2 KB
Original Source

IDocumentProperties.AllowPin Property

Gets or sets whether any Document within the current TabbedView can be pinned.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
bool AllowPin { get; set; }
vb
Property AllowPin As Boolean

Property Value

TypeDescription
Boolean

true if any Document within the current TabbedView can be pinned; otherwise, false.

|

Remarks

Tabs, which represent Documents within a TabbedView, can be pinned at runtime. Pinned tabs are placed before unpinned ones. A pin-able tab displays the Pin Button next to its Close Button (see the figure below).

The IDocumentDefaultProperties.AllowPin property, accessible via the Document.Properties object, specifies whether the current Document can be pinned. To enable or disable this feature for all Documents within a Tabbed View, use the AllowPin property instead, which has a lower priority than the IDocumentDefaultProperties.AllowPin property.

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

See Also

AllowPin

Pinned

DocumentPinned

DocumentUnpinned

IDocumentProperties Interface

IDocumentProperties Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace