Back to Devexpress

DocumentGroup.SelectionChanged Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-documentgroup-c47836b0.md

latest2.9 KB
Original Source

DocumentGroup.SelectionChanged Event

Occurs when document selection within the current DocumentGroup changes.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event DocumentEventHandler SelectionChanged
vb
Public Event SelectionChanged As DocumentEventHandler

Event Data

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

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

IsSelectedChanged

DocumentActivated

DocumentDeactivated

Activate(BaseDocument)

DocumentGroup Class

DocumentGroup Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace