BaseView.ControlShown Event

Fires when an empty document is loaded and displayed.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public event DeferredControlLoadEventHandler ControlShown
Public Event ControlShown As DeferredControlLoadEventHandler

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.

Remarks

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