WPF switch panel

The panel which switch its content depending on the value of boolean flag is the topic of this post. The WPF application I’ve recently coded was a MvvM application and had a number of editable fields. The fields were editable only in specific circumstances and when the proper flag IsEditionMode has been set to true on the ViewModel. For trivial cases I could use TextBox with Is…

By Mirek on (tags: custom controls, SwithPanel, WPF, categories: code)