Skip to main content
.NET Framework 4.5.2+

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