Controls bound to table with diffrent row layouts

45 views Asked by At

So i have this scenario where i have a database table that can contain values of diffrent types. Most of the values will be static text from another table, but a few rows will contain a "freetext" value. The problem i have is trying to make a layout for this in wpf.

What i want is somthing like this mockup:

Layout-mockup

Tables looks something like this:

The tables

So basicly first value is type of value i want to store in the table. And this value should also determine what the row looks like in the interface.

Can't find a good approach for this, any suggestions?

0

There are 0 answers