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

AppearanceObject.Image Property

Gets or sets the background image.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.2.dll

Declaration

[DXCategory("Appearance")]
[Browsable(false)]
public virtual Image Image { get; set; }

Property Value

Type Default Description
Image *null*

A Image object specifying the background image.

Remarks

Setting the Image property to a null reference automatically sets the AppearanceOptions.UseImage property to false. If this property is set to false and the current appearance object has a parent, the parent’s background image is used.

Use the AppearanceObject.GetImage method to obtain the background image specified by the appearance object’s settings.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Image property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also