Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

View.CreateControls() Method

Creates controls that visualize a View in a UI.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public void CreateControls()

Remarks

A view is an abstract UI element. It is visualized via special controls. For DetailView objects, controls of their View Items are created. For ListView objects, a control of their ListView.Editor is created.

The CreateControls method is called when a View needs to be displayed. After creating controls, this method raises the View.ControlsCreated event.

Generally, you do not need to call this method because Views are visualized automatically.

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

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