Table of Contents

Method AddSvg

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

AddSvg(SvgImage, bool)

Adds svg to the image list with the default normal color for the specified theme.

public virtual bool AddSvg(SvgImage svg, bool isDarkTheme)

Parameters

svg SvgImage

Svg to add.

isDarkTheme bool

Whether theme is dark.

Returns

bool

AddSvg(SvgImage, Color?)

Adds svg to the image list with the default normal color for the specified theme.

public virtual bool AddSvg(SvgImage svg, Color? color = null)

Parameters

svg SvgImage

Svg to add.

color Color

Svg color. Optional. If not specified, svg colors are not changed.

Returns

bool