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

DocumentGroup.SelectionChanged Event

Occurs when document selection within the current DocumentGroup changes.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public event DocumentEventHandler SelectionChanged

#Event Data

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

The SelectionChanged event is raised whenever a previously unselected Document within the current DocumentGroup is selected. For this Document, the Document.IsSelectedChanged event occurs. Moreover, a Document selection change fires the BaseView.DocumentActivated and BaseView.DocumentDeactivated events.

To select a Document in code, use the IBaseViewController.Activate method.

See Also