Building TreeViews and other GUI items dynamically

Mar 2, 2010 at 5:21 PM

I'm trying to get acquainted with Cinch and I was going through some basic MVVM examples.

What I'm wondering at my present state of knowledge is the question:


With all that predefined layout elements in XAML files in WPF, that has to be precompiled into the application,

how is it managed to build e.g. a TreeView dynamically from a databases metadata, let's say list all tables found in a database and

make each table a node and then walk through each tables column names and make them leafs of that particular node.

 What technique would one have to use for that?