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