Method SetLabelForValue
SetLabelForValue<T>(T, string)
Sets item title for the given enum value.
void SetLabelForValue<T>(T value, string label) where T : Enum
Parameters
valueTItem value (id).
labelstringNew item title.
Type Parameters
TType of the item value.
Examples
var localizableEnum = PropertyGrid.GetChoices<BrushType>();
localizableEnum.SetLabelForValue<BrushType>(
BrushType.LinearGradient, "Linear Gradient");
SetLabelForValue(int, string)
Sets item title for the given item value.
void SetLabelForValue(int value, string label)