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

SimpleButton.ImageUri Property

Gets or sets the uniform resource identifier of the image in the DX Image Gallery displayed in the current button. A specific version of the addressed image is automatically chosen based on the app context (the current skin and required image size).

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[Browsable(false)]
[DXCategory("Appearance")]
[SmartTagProperty("ImageUri", "Image", 4, SmartTagActionType.RefreshAfterExecute)]
public virtual DxImageUri ImageUri { get; set; }

Property Value

Type Description
DevExpress.Utils.DxImageUri

A DevExpress.Utils.DxImageUri object that specifies the uniform resource identifier of the image to be displayed in the current button.

Remarks

See Image Gallery and Context-Dependent Images for details.

The ImageUri property is equivalent to the ImageOptions.ImageUri property (see SimpleButton.ImageOptions).

See Also