IDocumentDefaultProperties.CanPin Property

Gets whether the current Document can be pinned.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v21.2.dll


bool CanPin { get; }

Property Value

Type Description

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


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