Skip to main content

TabbedView.DocumentPinned Event

Occurs when a Document in the TabbedView is pinned.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public event DocumentEventHandler DocumentPinned

Event Data

The DocumentPinned 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 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