Skip to main content

ImageEdit Class

The editor that displays images in a popup window.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultBindingPropertyEx("Image")]
public class ImageEdit :
    BlobBaseEdit

Remarks

The ImageEdit class represents an editor which is used to display graphics from a bitmap, metafile, icon, JPEG, GIF or PNG file. An image editor displays its associated image in the specific dropdown window, which can be invoked either by end-users or programmatically.

ImageEdit_Class.gif

Use the ImageEdit.Image property to specify an image. The Properties.PictureStoreMode property specifies whether the ImageEdit stores the image as an Image object or as an array of bytes in the ImageEdit.EditValue property.

Size mode of the displayed image is specified by the RepositoryItemImageEdit.SizeMode property.

An image edit control integrates a context menu. Users can use the context menu to copy, paste, load, and save images. Use the RepositoryItemImageEdit.ShowMenu property to control whether the menu is displayed when users right-click the image editor’s dropdown window.

See Also