Skip to main content
A newer version of this page is available. .

Document.Pinned Property

Gets or sets whether the Document is currently pinned.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v18.2.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Pinned property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also