Skip to main content

ImageEdit.Image Property

Sets or gets the image displayed by the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual Image Image { get; set; }

Property Value

Type Default Description
Image null

A Image object representing the image displayed by the editor.

Remarks

The Image property value is equivelant to the ImageEdit.EditValue property value. The property is declared to avoid type conversion when accessing the image displayed by the editor.

The following example assigns an image to the control.

imageEdit1.Image = Image.FromFile("workspace.png");
See Also