Method GetTemplateAsImageSet
GetTemplateAsImageSet(TemplateControl, Color?)
Gets template contents as ImageSet.
public static ImageSet GetTemplateAsImageSet(TemplateControl template, Color? backColor = null)
Parameters
templateTemplateControlTemplate control
backColorColorBackground color. Optional. If not specified, background color of the template control is used.