public enum ButtonNames
For using the values - an example to write in console:
The use in a switch element is not allowed since the enumerates are not constant values... that was my main objective. Will keep trying to find a way.
Hope it helps,
Convert an Enum to a String By Mahesh Chand