Back to Devexpress

TabbedView.DocumentDeselected Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-tabbedview-9c3dca02.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event DocumentEventHandler DocumentDeselected
vb
Public Event DocumentDeselected As DocumentEventHandler

Event Data

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

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

csharp
tabbedView1.Controller.Select(document3);
vb
tabbedView1.Controller.Select(document3)

Tabbed View fires its event in the following sequence:

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

See Also

TabbedView Class

TabbedView Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace