Method CreateEditEnumItem
CreateEditEnumItem(string, string?, IPropertyGridChoices, string?, IPropertyGridNewItemParams?)
Creates editable enumeration property.
public virtual IPropertyGridItem CreateEditEnumItem(string label, string? name, IPropertyGridChoices choices, string? value = null, IPropertyGridNewItemParams? prm = null)
Parameters
label
stringProperty label.
name
stringProperty name.
choices
IPropertyGridChoicesEnumeration elements.
value
stringDefault property value.
prm
IPropertyGridNewItemParamsProperty item create parameters.
Returns
- IPropertyGridItem
Property declaration for use with Add(IPropertyGridItem, IPropertyGridItem?).