RepositoryItemBlobBaseEdit.Images Property

Gets or sets the source of images used to indicate whether the editor contains data.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v21.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(null)]
public object Images { get; set; }

Property Value

Type Default Description
Object

null

An object which represents the source of images that indicate whether a BLOB editor contains data.

Remarks

The default behavior of a BLOB editor is to display a specific identification icon within its edit region. This icon is used to identify the type of data stored within the editor and to notify end-users whether the editor contains any data. By default, each type of BLOB editor (MemoExEdit or ImageEdit) has its own pair of predefined icons: a black one is drawn when the editor contains data; otherwise, a dimmed icon is used. The following image shows two BLOB editors - an image editor (ImageEdit) and an extended memo editor (MemoExEdit) - when they have and don’t have data.

ImageEdit_Images.gif

Use the Images property to specify your own list of custom images. The first image in this image list will be displayed when a BLOB editor contains data and the second if the editor is empty. The image below displays populated BLOB editors (MemoExEdit and ImageEdit) first with their default icons and then with custom icons.

ImageEdit_Images_Custom.gif

When either the RepositoryItemBlobBaseEdit.ShowIcon property is set to false or the RepositoryItemBlobBaseEdit.TextEditStyle property is set to the TextEditStyles.HideTextEditor value, a BLOB editor does not displays icons and therefore the Images property is not in effect.

Changing the Images property’s value raises the RepositoryItem.PropertiesChanged event.

See Also