Is there an easy way in WPF/XAML to toggle between two types of controls in the same position in a panel? I'm wondering if there are alternatives to toggling visibilities.
In my application I have several checkboxes that are used to configure a bit field (the checkboxes toggle individual bits on or off). Sometimes it is easier for the user if he is able to enter the actual field value in a textbox (such as 0x03 if the first two checkboxes are checked).
Due to layout constraints I would prefer not to have both the checkboxes and textbox visible at the same time. I want to provide a radio button that allows him to select which "view" he wants to use for editing the values.