You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the EnumValuesExtension as described in the link. But say you had an animal which name has two words in it. How would you set a display name so that the control shows the space?
In the example below, I'd like the UI to display "Flying Squirrel" rather than "FlyingSquirrel".
public enum Animal
{
Dog,
[SomeAttribute("Flying Squirrel")]
FlyingSquirrel,
};
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using the EnumValuesExtension as described in the link. But say you had an animal which name has two words in it. How would you set a display name so that the control shows the space?
In the example below, I'd like the UI to display "Flying Squirrel" rather than "FlyingSquirrel".
Beta Was this translation helpful? Give feedback.
All reactions