IModelControlDetailItem.ControlTypeName Property
Specifies the type of the control that displays a Control Detail Item.
Namespace: DevExpress.ExpressApp.Model
Assembly: DevExpress.ExpressApp.v24.1.dll
NuGet Package: DevExpress.ExpressApp
Declaration
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:
Alternatively, add a control to a UserControl
, as shown in the following topics:
- How to: Show a Custom Data-Bound Control in an XAF View (WinForms)
- How to: Show a Custom Data-Bound Control in an XAF View (ASP.NET Web Forms)
See Also