Datagrid and trees in WPF

is there a way to create dynamically a datagrid in WPF ?
Is there also the same way to draw binary tree in WPF ?
(I am using C# & .net 3.0)
:puzzled: