In Silverlight 2 Beta i was Big Problem To bind Data with treeview checkbox but its will become Very easy in Silverlight 3 Silverlight 3 Add new Property Called TreeViewItemCheckBox So Try this tutial
1 new project and Create Silverlight Application Call mysite
2 go Solution Explorer and right Click on page.xaml
3 Selcet Treeview Control from asset
4 and Drow treeview on Canvus AND NAMED TvCheckbox save
5 add this namespace to to XAML code
xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" 6
back to Visaul Studio and go page.cs file add code this code on page load event
Try it Live
Download Source Code
thank
i hope its will helps you
Usama Wahab Khan
TreeView CheckBox DataBinding Silverlight 3
Monday, July 27, 2009
Posted by Usama Wahab Khan at 11:52 PM
Labels: Databinding, Silverlight
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment