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

LayoutControlItem.Image Property

Gets or sets the image displayed in the item’s label.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v19.1.dll

Declaration

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

Property Value

Type Default Description
Image *null*

An Image object which represents the item’s image.

Remarks

It’s possible to assign an image to an item via either the Image or LayoutControlItem.ImageIndex property. If images are specified via both the ImageIndex and Image properties, the image assigned to the Image property will be used.

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