Back to Devexpress

ImageEdit Class

windowsforms-devexpress-dot-xtraeditors-1f31c77c.md

latest3.1 KB
Original Source

ImageEdit Class

The editor that displays images in a popup window.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultBindingPropertyEx("Image")]
[DXLicenseWinFormsEditors]
public class ImageEdit :
    BlobBaseEdit
vb
<DefaultBindingPropertyEx("Image")>
<DXLicenseWinFormsEditors>
Public Class ImageEdit
    Inherits 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.

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.

Implements

IXtraResizableControl

Inheritance

Show 13 items

Object MarshalByRefObject Component Control DevExpress.XtraEditors.XtraControl ControlBase BaseControl BaseEdit TextEdit ButtonEdit PopupBaseEdit BlobBaseEdit ImageEdit

See Also

ImageEdit Members

DevExpress.XtraEditors Namespace