Skip to main content

BaseView.ControlShown Event

Fires when an empty document is loaded and displayed.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public event DeferredControlLoadEventHandler ControlShown

Event Data

The ControlShown event's data class is DeferredControlLoadEventArgs. The following properties provide information specific to this event:

Property Description
Control Gets the current Document’s content.
Document Points to the document related to the current event. Inherited from DocumentEventArgs.


The ControlShown event is raised after the BaseView.QueryControl event, which sets the content for an empty document that is to be displayed. The ControlShown event is followed by the BaseView.ControlReleasing event.

The ControlShown event is a part of the Deferred Load feature. See this link to learn more.

See Also