public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection | ||
context | ITypeDescriptorContext | |
Résultat | StandardValuesCollection |
public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
{
var templateNames = new string[TemplateItems.Length];
for(var i = 0; i < templateNames.Length; i++) {
templateNames[i] = TemplateItems[i].Name;
}
return new StandardValuesCollection(templateNames);
}