Skip to main content

TabbedView.DocumentSelected Event

Fires when the selection moves from one docked Document to another. Allows you to identify this newly selected Document. This event does not occur when the selection moves between floating Documents. The DocumentSelected event fires after the TabbedView.DocumentDeselected event.

Namespace: DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public event DocumentEventHandler DocumentSelected

Event Data

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

This event fires when another docked Document is selected either by a user, or in code.

tabbedView1.Controller.Select(document3);

Tabbed View fires its event in the following sequence:

  1. DocumentDeselected
  2. DocumentSelected
  3. DocumentDeactivated
  4. DocumentActivated
See Also