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
label
stringProperty label.
name
stringProperty name.
choices
IPropertyGridChoicesElements.
value
objectDefault property value.
prm
IPropertyGridNewItemParamsProperty item create parameters.
Returns
- IPropertyGridItem
Property declaration for use with Add(IPropertyGridItem, IPropertyGridItem?).