You can use the new EnumDisplayValueAttribute that we added just for this reason. You just put the attributes on your enum values and when you build a combo box from the enum, you can just leave the EnumSeparatePascalCase values as their defaults and the enum's display values will be replaced with whatever you put in the string.Public Enum MyEnum
<MicroFour.StrataFrame.Tools.EnumDisplayValue("My Value #1")> _
MyValue1
<MicroFour.StrataFrame.Tools.EnumDisplayValue("My Value #2")> _
MyValue2
End Enum
And since you're a C# guy (I think )
public enum MyEnum
{
[MicroFour.StrataFrame.Tools.EnumDisplayValue("My Value #1")]
MyValue1
}
You can also pass a second value to the attribute constructor that tells it that the first value is a localization key rather than a literal string for replacement.