Search code examples
c#windows-runtimetreeviewwinrt-xamlwinrt-xaml-toolkit

Drawing a binary tree in WinRT


Basically, I want to display a binary tree in WinRT. I have an ObservableCollection which contains the values of the nodes.

What do you think is the best way to start trying with?


Solution

  • If a "standard" TreeView control doesn't satisfy your aesthetic needs - you could either try to build a tree out of some Shape elements, possibly connected and most likely laid out on a Canvas or alternatively to support huge trees - use DirectX - either with a native WinRT component or using SharpDX.