Back to Devexpress

ControlViewItem Class

expressappframework-devexpress-dot-expressapp-dot-layout.md

latest2.6 KB
Original Source

ControlViewItem Class

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

Namespace : DevExpress.ExpressApp.Layout

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public class ControlViewItem :
    ViewItem,
    IComplexViewItem
vb
Public Class ControlViewItem
    Inherits ViewItem
    Implements 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.

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

IComplexViewItem

Inheritance

Object ViewItem ControlViewItem BlazorControlViewItem

See Also

ControlViewItem Members

BlazorControlViewItem

ViewItemAttribute

DevExpress.ExpressApp.Layout Namespace