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

IDocumentDefaultProperties.CanPin Property

Gets whether the current Document can be pinned.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
bool CanPin { get; }

#Property Value

Type Description
Boolean

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

#Remarks

Tabs, which represent Documents within a TabbedView, can be pinned at runtime. You can specify if individual Documents or any Document within a View can be pinned via the IDocumentDefaultProperties.AllowPin or IDocumentProperties.AllowPin properties respectively. Individual Document pin settings have a higher priority than global View settings. The CanPin property gets whether the current Document can be pinned.

Use the Document.Pinned property in code to pin or unpin specific Documents.

See Also