Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
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