Skip to main content
.NET Framework 4.6.2+

IModelControlDetailItem.ControlTypeName Property

Specifies the type of the control that displays a Control Detail Item.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[Required]
string ControlTypeName { get; set; }

Property Value

Type Description
String

A string specifying the type of the control that displays a Control Detail Item.

Remarks

The ControlViewItem loads the specified control type dynamically by its name at runtime. Make sure your application loads the type assembly before it shows a View with this ControlViewItem. Otherwise, the following exception may occur:

TypeWasNotFoundException - "The '{ControlTypeName}' type was not found". 

To load the type assembly, create any lightweight object from the assembly type at startup:

var pivotGridAssemblyInitializer = new PivotGridField();

Alternatively, add a control to a UserControl, as shown in the following topics:

See Also