Click here to Skip to main content
15,942,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hii guys i have created a treeview but i can't print the content in the tree view and i can't set the background i have used

but no use of it can any one find what mistake i have done

What I have tried:

<TreeView x:Name="treeview" Grid.Row="2" Background="Blue" HorizontalAlignment="Center">
         <TreeView.RootNodes >
             <TreeViewNode Content="colur">
                     <TreeViewNode Content="blue"></TreeViewNode>
                     <TreeViewNode Content="green"></TreeViewNode>
                     <TreeViewNode Content="red"></TreeViewNode>
[no name] 13-Dec-22 12:00pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900