Skip to main content
.NET Framework 4.6.2+

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

ControlViewItem Class

A View Item that displays a specific unbound control in a UI.

Namespace: DevExpress.ExpressApp.Layout

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public class ControlViewItem :
    ViewItem,
    IComplexViewItem

#Remarks

In certain scenarios, you may need to add an unbound control to a Detail View. To do this, add a IModelControlDetailItem child node to the required Views | <DetailView> | Items node.

HT_Add_Button2_1

Set the child node’s IModelControlDetailItem.ControlTypeName property to the required control’s type. To handle the control’s events, implement a custom Controller that is activated for the View containing the ControlViewItem.

For an example of using the ControlViewItem, refer to How to: Create a Custom Control Detail Item topic.

#Implements

#Inheritance

Object
ViewItem
ControlViewItem
See Also