Skip to main content
Namespace: Phoenix.ComponentBuilderAPI.Extensions
Assembly: Phoenix.ComponentBuilderAPI.dll

GetPlugInIconImageSourceOrDefaultAsync(IPlugInInstance)

Get the plug-in icon, if possible, or a default if the plug-in does not specify an icon. This maintains the original size of the icon image.

Parameters

plugin IPlugInInstance The plug-in instance on which to operate.

Returns

Task<ImageSource> An ImageSource suitable for display to the user.