Awesome!
I knew it had to be simple.
I just discovered this is even cooler than I thought... the return type of SelectedValue is actually the enum itself too. So no enum.Parse or enum.TryParse needed! Woot!
I knew it had to be simple.
I just discovered this is even cooler than I thought... the return type of SelectedValue is actually the enum itself too. So no enum.Parse or enum.TryParse needed! Woot!