I\'m defining a custom attribute in XML that is an enum.It looks something like this:
Just define the attribute outside of your control:
Then just reuse that for all of your controls: