TabbedView.DocumentUnpinned Event
Occurs when a Document in the TabbedView is unpinned.
Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Event Data
The DocumentUnpinned event's data class is DocumentEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Document | Points to the document related to the current event. |
Remarks
Handle the DocumentUnpinned event to respond to Document unpinning. The Document can be unpinned by an end-user at runtime by clicking the Document‘s Pin Button or with the Document.Pinned property in code.
The IDocumentProperties.AllowPin and IDocumentDefaultProperties.AllowPin properties allows you to specify whether the Document can be pinned.
You can also respond to Document pinning by handling the TabbedView.DocumentPinned event.