IDocumentDefaultProperties.CanPin Property

Gets whether the current Document can be pinned.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
bool CanPin { get; }
<Browsable(False)>
ReadOnly Property CanPin As Boolean

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