Table of Contents

Method SetSvgImage

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

SetSvgImage(TKey, SvgImage?)

Associates the specified SVG image with the given key in the collection.

public virtual void SetSvgImage(TKey index, SvgImage? value)

Parameters

index TKey

The key used to identify the SVG image in the collection. Cannot be null.

value SvgImage

The SVG image to associate with the specified key. Can be null to remove the association.

Remarks

If an SVG image is already associated with the specified key, it will be replaced with the new value.