All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SvgImageItem.Appearance Property

Allows you to customize the item’s appearance.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v21.1.dll

Declaration

public SvgImageItemAppearanceCollection Appearance { get; }

Property Value

Type Description
SvgImageItemAppearanceCollection

The appearance settings applied to the current item.

Remarks

You can specify the default appearance settings for all items with the SvgImageBox.ItemAppearance property.

The SvgImageItem.Appearance property allows you specify the apperance settings for the current item. These settings override the default appearance settings.

A group‘s appearance settings are applied to the group’s child items. Any child item can override the group’s apperance settings via its own Appearance property.

Example

The following example locates an item whose ID equals to “seat_3” and changes the item’s background color.

var item1 = svgImageBox1.FindItems(item => item.Id != null && item.Id.Equals("seat_3")).FirstOrDefault();
if (item1 != null)
    item1.Appearance.Normal.FillColor = Color.Fuchsia;
See Also