Back to Devexpress

SimpleButton.ImageUri Property

windowsforms-devexpress-dot-xtraeditors-dot-simplebutton-08672e0f.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual DxImageUri ImageUri { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Appearance")>
Public Overridable Property ImageUri As DxImageUri

Property Value

TypeDescription
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

Use the SimpleButton.ImageOptions property to display an image in a button and specify image-related settings.

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

See Also

Image Gallery and Context-Dependent Images

ImageOptions

SimpleButton Class

SimpleButton Members

DevExpress.XtraEditors Namespace