Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

View.ControlsCreated Event

Occurs after controls for a View are created.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public event EventHandler ControlsCreated

#Event Data

The ControlsCreated event's data class is EventArgs.

#Remarks

Handle the View.ControlsCreated event if you’ve manually set the DelayedViewItemsInitialization property to false.

Note

In most scenarios, handle the ControlCreated event instead. The View.ControlsCreated event may fire before the necessary controls are created for your View and the Control property may return null in the event handler. For more details, see DelayedViewItemsInitialization.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ControlsCreated event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also