How to implement WPF Dynamic UI -
Developing a WPF application to get a better understanding of what I'm trying to do and more about it I am here. I get a position, though I'm not sure how to implement the best, where basically my UI needs to be changed based on user selection.
Basically, I want to create a set of 'conditioner', where the user specifies to specify a 'field' and 'condition' and a 'style' if that condition matches. I explain that layout as below.
What I need to do is change which appears in 'Control1' (either text box or 2 text boxes and a label, or nothing) and 'Control2' (either bound combobox, numeric up / down, color picker). I am not convinced that the best way to change these controls is to dynamically and as much as possible, keep the code / XML separate. Text ">
If you are MVVM, then you see the child for a polite property of the original view modal (i.e. control group view model, and a solid view for each potential control group) for each control area You can create models for each concrete type in a resource dictionary if you force to see the polymorphic property. So, the correct dataplate should be selected at run time.
Comments
Post a Comment