ImageEdit Class
The editor that displays images in a popup window.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "ImageEdit")]
[DefaultBindingPropertyEx("Image")]
[ToolboxTabName("DX.18.1: Common Controls")]
[SmartTagAction(typeof(ImageEditActions), "Image", "Choose Image", SmartTagActionType.CloseAfterExecute)]
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.
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImageEdit class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.