Back to Devexpress

TabbedView.DocumentPinned Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-tabbedview-4da594d4.md

latest3.2 KB
Original Source

TabbedView.DocumentPinned Event

Occurs when a Document in the TabbedView is pinned.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event DocumentEventHandler DocumentPinned
vb
Public Event DocumentPinned As DocumentEventHandler

Event Data

The DocumentPinned 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 DocumentPinned event to respond to Document pinning. The Document can be pinned 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 allow you to specify whether the Document can be pinned.

You can also respond to Document unpinning by handling the TabbedView.DocumentUnpinned event.

See Also

DocumentUnpinned

Pinned

IDocumentProperties.AllowPin

IDocumentDefaultProperties.AllowPin

TabbedView Class

TabbedView Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace