Table of Contents

Class EnumImages<TKey>

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

Contains small and large images indexed by the enum type.

public class EnumImages<TKey> : ImmutableObject, IBaseObjectWithId, IImmutableObject, IDisposableObject, IDisposable, IBaseObject, INotifyPropertyChanged where TKey : struct, Enum, IConvertible

Type Parameters

TKey

Type of the enum.

Inheritance
EnumImages<TKey>
Implements

Properties

LargeSvgSize

Gets or sets size of the large svg image.

SmallSvgSize

Gets or sets size of the small svg image.

Methods

AssignImageNames(bool)

Assigns all image names from small to large images or backwards.

FormatImageNames(string, bool)

Calls Format(string, object) on small or large image names.

GetImage(TKey, bool)

Gets small or large image for the specified index.

GetImageName(TKey, bool)

Gets small or large image name for the specified index.

GetLargeImage(TKey)

Gets large image for the specified index.

GetSmallImage(TKey)

Gets small image for the specified index.

GetSvgSize(bool)

Gets size of the svg image.

LoadFromResource(Assembly, TKey, bool)

Loads the specified image from the assemblie's resource.

LoadImagesFromResource(Assembly, bool)

Loads all small or large images from the assemblie's resource.

Log()

Logs object information.

SetImage(TKey, Image?, bool)

Sets small or large image for the specified index.

SetImageName(TKey, string?, bool)

Sets small or large image name for the specified index.

SetLargeImage(TKey, Image?)

Sets large image for the specified index.

SetSmallImage(TKey, Image?)

Sets small image for the specified index.

SetSvgColor(TKey, Color?)

Sets color of the svg image.