SyntaxHighlighter

Wednesday, November 16, 2011

More on Binding an Enum to radiobutton

I was playing around with my program and tried adding a group of four radio buttons. I found that the second group interfered with the first. So I put the second group in a stackpanel, and everything worked! One more thing, in my isClicked method I didn't show that I have this:
if (skipcheck)
{
   return;
}


where skipcheck is a bool that is set to true until the initialization is done. This stops an exception. This is a very nice method to use, and easy.

No comments: