I have a UserControl with a property called “Type”. This can have any combination of three values, say
One
Two
Three
How do I do this? This is more like the anchor property for controls in WinForms.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You use an enum annotaed with the Flag attribute. You than can say something like
to set multiple flags, i.e. you use the bitwise or operator to combine them.