Skip to main content

DocumentGroup.SelectionChanged Event

Occurs when document selection within the current DocumentGroup changes.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

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