Skip to main content

TabbedView.DocumentDeselected Event

Fires when the selection moves from one docked Document to another. Allows you to identify the previously selected Document. This event does not occur when the selection moves between floating Documents. The DocumentDeselected event is followed by 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 DocumentDeselected

Event Data

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