Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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:

console
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