Back to Devexpress

SvgImageBox.ItemAppearance Property

windowsforms-devexpress-dot-xtraeditors-dot-svgimagebox-945a743f.md

latest2.0 KB
Original Source

SvgImageBox.ItemAppearance Property

Provides access to the default item appearance settings.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
public SvgImageItemAppearanceCollection ItemAppearance { get; }
vb
Public ReadOnly Property ItemAppearance As SvgImageItemAppearanceCollection

Property Value

TypeDescription
SvgImageItemAppearanceCollection

The default item appearance settings.

|

Remarks

You can use the following properties to customize items’ appearance settings:

  • SvgImageBox.ItemAppearance - Allows you to specify the default appearance settings for all image items.
  • SvgImageItem.Appearance - Allows you to customize the appearance of individual image items. These settings, if set, override the default appearance settings.

Example

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

csharp
svgImageBox1.ItemAppearance.Normal.FillColor = Color.Green;
vb
SvgImageBox1.ItemAppearance.Normal.FillColor = Color.Green

See Also

SvgImageBox Class

SvgImageBox Members

DevExpress.XtraEditors Namespace