Back to Devexpress

Document.Pinned Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-document-b94692cb.md

latest2.7 KB
Original Source

Document.Pinned Property

Gets or sets whether the Document is currently pinned.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public bool Pinned { get; set; }
vb
<DefaultValue(False)>
Public Property Pinned As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if Document; 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).

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

The IDocumentProperties.AllowPin property specifies whether any Document within a Tabbed View can be pinned. To override this setting for individual Documents, use the IDocumentDefaultProperties.AllowPin property instead.

See Also

IDocumentProperties.AllowPin

IDocumentDefaultProperties.AllowPin

DocumentPinned

DocumentUnpinned

Document Class

Document Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace