DevExpress v24.2 Update — Your Feedback Matters
Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.
Take the survey
Not interested
SvgImageItemAppearanceCollection Class
Contains appearance settings for SVG image items.
Namespace : DevExpress.XtraEditors
Assembly :
DevExpress.Utils.v24.2.dll
NuGet Packages :
DevExpress.Utils , DevExpress.Wpf.Core
# Declaration
public class SvgImageItemAppearanceCollection :
IStatefulObject ,
INotifyPropertyChanged
Public Class SvgImageItemAppearanceCollection
Implements IStatefulObject,
INotifyPropertyChanged
# Related API Members
The following members return SvgImageItemAppearanceCollection objects:
# Example
The following code specifies the Green color as the default background for all image items.
svgImageBox1.ItemAppearance.Normal.FillColor = Color.Green;
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;
Dim item1 = svgImageBox1.FindItems(Function (item) item.Id IsNot Nothing AndAlso item.Id.Equals ("seat_3" )).FirstOrDefault()
If item1 IsNot Nothing Then item1.Appearance.Normal.FillColor = Color.Fuchsia
# Inheritance
Object SvgImageItemAppearanceCollection
See Also