expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelcontroldetailitem.md
Specifies the type of the control that displays a Control Detail Item.
Namespace : DevExpress.ExpressApp.Model
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[Required]
string ControlTypeName { get; set; }
<Required>
Property ControlTypeName As String
| Type | Description |
|---|---|
| String |
A string specifying the type of the control that displays a Control Detail Item.
|
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
IModelControlDetailItem Interface