All docs
V20.1
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.

SvgImageItemAppearance Class

Contains appearance settings to paint image items.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public class SvgImageItemAppearance :
    SvgImageBoxBaseOptions,
    INotifyPropertyChanged,
    ISupportDXSkinColorsSerialization,
    ISupportDXSkinColorsProvider
Public Class SvgImageItemAppearance
    Inherits SvgImageBoxBaseOptions
    Implements INotifyPropertyChanged,
               ISupportDXSkinColorsSerialization,
               ISupportDXSkinColorsProvider

Related API Members

The following members accept/return SvgImageItemAppearance objects:

Remarks

Example

The following code specifies the Green color as the default background for all image items.

svgImageBox1.ItemAppearance.Normal.FillColor = Color.Green;

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;

Inheritance

Object
DevExpress.XtraEditors.SvgImageBoxBaseOptions
SvgImageItemAppearance
See Also