Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TabbedView.DocumentPinned Event

Occurs when a Document in the TabbedView is pinned.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.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