In this article we will explore about Tree View
control in Silverlight 3.
You can also refer to my another article in TreeView with expand collapse hereCrating Silverlight Project
up Visual Studio 2008 and create a Silverlight Application. Name it as
TreeView control displays data in a hierarchical manner.
solution in Expression Blend 3.
Go ahead and a Tree View control to your
I have changed the Background to Linear Brush.
TreeView Item to the Tree View, just right click on it and add
several, and if you want to add children of any parent then select the
particular TreeViewItem and add another Treeview Item.
I have created the
you see the design view it will look similar to the following:
is the XAML code behind for the TreeView:
Now if you run the application you can
expand or collapse a particular TreeViewItem.
article is very basic to understand the Tree View Control in Silverlight 3. We
will explore more on this in forth coming articles.