Method CreateFlagsItem
CreateFlagsItem(string, string?, IPropertyGridChoices, object?, IPropertyGridNewItemParams?)
Creates flags property (like enumeration with Flags attribute).
public virtual IPropertyGridItem CreateFlagsItem(string label, string? name, IPropertyGridChoices choices, object? value = null, IPropertyGridNewItemParams? prm = null)
Parameters
labelstringProperty label.
namestringProperty name.
choicesIPropertyGridChoicesElements.
valueobjectDefault property value.
prmIPropertyGridNewItemParamsProperty item create parameters.
Returns
- IPropertyGridItem
Property declaration for use with Add(IPropertyGridItem?, IPropertyGridItem?).