Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseView.ControlShown Event

Fires when an empty document is loaded and displayed.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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.

#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 Also