Method LoadFromResource
LoadFromResource(Assembly, TKey, bool)
Loads the specified image from the assembly resource.
public virtual bool LoadFromResource(Assembly assembly, TKey imageKey, bool isSmallImage = true)
Parameters
assemblyAssemblyThe assembly from where image is loaded.
imageKeyTKeyThe key of the image to load.
isSmallImageboolThe flag which specifies whether to load small or large image.
Returns
Remarks
Image name is used as a resource url.