Skip to main content

IDocumentDefaultProperties.CanPin Property

Gets whether the current Document can be pinned.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v23.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