What to bind to (mvvm) to get access to graphLayout.Children

Apr 27, 2012 at 11:38 AM

Hello,

in my codeBehind I use such a loop to iter trough the vertexes and edges.

foreach (var v in graphLayout.Children)
{

   if (v is EdgeControl){...};

   if (v is VertexControl){...};

}

To what do I have to bind to get access to the graphLayout.Children so that I can get access to them in my ViewModel?