LayoutControl.Images Property
Gets or sets a collection of images that can be displayed within the LayoutControl’s elements.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v19.1.dll
Declaration
[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual object Images { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Object | *null* | An object that is an image collection providing images to be displayed in the LayoutControl’s items. |
Remarks
Images can be displayed within layout items’ and groups’ captions. To do this, assign an image collection to the Images property, and then use the LayoutGroup.CaptionImageIndex and LayoutControlItem.ImageIndex properties to associate images from this collection with groups and layout items.
The Images property accepts the following image collections:
- ImageCollection - Supports image transparency.
- SharedImageCollection - Supports image transparency. Allows you to share images between controls within multiple forms.
- SvgImageCollection - Stores vector icons that can scale without losing their quality on high resolution devices.
- ImageList.
Images can also be assigned to groups and layout items explicitly via the LayoutGroup.CaptionImage and LayoutControlItem.Image properties.