Skip to main content
A newer version of this page is available. .

ImageEdit Class

The editor that displays images in a popup window.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DefaultBindingPropertyEx("Image")]
[SmartTagAction(typeof(ImageEditActions), "Image", "Choose Image", SmartTagActionType.CloseAfterExecute)]
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "ImageEdit")]
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

You can specify an image to be displayed in the dropdown window of an image editor by setting the ImageEdit.Image property either at design time or at run time. Size mode of the displayed image is controlled by the RepositoryItemImageEdit.SizeMode property.

An image edit control provides a context menu used to perform common operations such as copying, pasting, loading and saving of 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