.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ListEditorAttribute(Type) Constructor

Initializes a new instance of the ListEditorAttribute.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v21.1.dll

Declaration

public ListEditorAttribute(
    Type listElementType
)

Parameters

Name Type Description
listElementType Type

A Type object specifying the type of objects for which the target List Editor is designed. This parameter value is used to initialize the ListEditorAttribute.ListElementType property.

Remarks

Use this constructor when you want your List Editor to be automatically set for objects of a particular data type. In this instance, pass the required object type as the first attribute parameter. Note that your List Editor might not be set automatically if there is another List Editor with the same parameter.

See Also