Back to Devexpress

TabbedView.DocumentUnpinned Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-tabbedview-dd52047c.md

latest3.2 KB
Original Source

TabbedView.DocumentUnpinned Event

Occurs when a Document in the TabbedView is unpinned.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event DocumentEventHandler DocumentUnpinned
vb
Public Event DocumentUnpinned As DocumentEventHandler

Event Data

The DocumentUnpinned event's data class is DocumentEventArgs. The following properties provide information specific to this event:

PropertyDescription
DocumentPoints 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.

See Also

DocumentPinned

Pinned

IDocumentProperties.AllowPin

IDocumentDefaultProperties.AllowPin

TabbedView Class

TabbedView Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace