Skip to main content
.NET 6.0+

View.CreateControls() Method

Creates controls that visualize a View in a UI.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

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.

See Also