Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Document.Pinned Property

Gets or sets whether the Document is currently pinned.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
public bool Pinned { get; set; }

#Property Value

Type Default Description
Boolean false

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).

DocumentManager - Pinned Tabs

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