Skip to main content
.NET Framework 4.6.2+

ImageEditorAttribute(ImageEditorMode, ImageEditorMode, Int32) Constructor

Initializes a new instance of the ImageEditorAttribute class with the specified parameters.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ImageEditorAttribute(
    ImageEditorMode listViewImageEditorMode,
    ImageEditorMode detailViewImageEditorMode,
    int listViewImageEditorCustomHeight
)

Parameters

Name Type Description
listViewImageEditorMode ImageEditorMode

An ImageEditorMode enumeration value that specifies how images represented by the target byte array property must be displayed in List Views. This value is used to initialize the ImageEditorAttribute.ListViewImageEditorMode property.

detailViewImageEditorMode ImageEditorMode

An ImageEditorMode enumeration value that specifies how images represented by the target byte array property must be displayed in Detail Views. This value is used to initialize the ImageEditorAttribute.DetailViewImageEditorMode property.

listViewImageEditorCustomHeight Int32

An integer value that specifies the height of inplace Image Property Editors in List Views. This value is used to initialize the ImageEditorAttribute.ListViewImageEditorCustomHeight property.

See Also