Table of Contents

Method GetImage

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

GetImage(MemberTypes)

Retrieves an image representation for the specified member type.

protected virtual SvgImage? GetImage(MemberTypes memberType)

Parameters

memberType MemberTypes

The type of the member for which to retrieve the image.

Returns

SvgImage

An Image object representing the specified member type, or null if no image is available.

Remarks

If the member type corresponds to an unknown or unsupported kind, a default placeholder image is returned. The size of the placeholder image depends on whether a scale factor is applied.