Skip to main content

SvgImageItemAppearanceCollection Class

Contains appearance settings for SVG image items.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public class SvgImageItemAppearanceCollection :
    IStatefulObject,
    INotifyPropertyChanged

The following members return SvgImageItemAppearanceCollection objects:

Remarks

Example

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

image

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.

image

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
SvgImageItemAppearanceCollection
See Also