ImageEdit() Constructor

Initializes a new ImageEdit control instance with default settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll


public ImageEdit()
Public Sub New


Use this constructor to create a new instance of the ImageEdit control at runtime. The constructor initializes the image editor with default settings.

You can use members of the newly created image editor to modifty it as your application needs dictate: you can specify an image to be displayed in the editor's dropdown window, control image stretching logic, set the editor's look and feel, etc. The editor should be added to a parent container's Controls collection in order to be displayed on the form.

To create an image editor for in-place editing (for use in the Grid Control or other DevExpress container controls) you should create a corresponding repository item (RepositoryItemImageEdit) and assign it to a column.

See Also