No announcements
Found 46952 threads
-
1 Votes
DataTemplate / HierarchicalDataTemplate in TreeView?
If you're trying to do almost anything of substance with a treeview you really want to use MVVM since it's way simpler than the alternatives.Answered | 8 Replies | 11941 Views | Created by Foxtrot_Xray - Wednesday, November 24, 2010 3:40 PM | Last reply by Andy ONeill - Thursday, November 25, 2010 8:48 AM -
0 Votes
TreeView as a DataTemplate in DataGridTemplateColumn
Hi, If you just want to use a Treeview to display Hierarchical Data, you may refer to How to: Use a TreeView to Display Hierarchical ...Answered | 2 Replies | 1921 Views | Created by Mohammad Imanloo - Friday, November 22, 2013 2:09 AM | Last reply by Yunjie Pei - MSFT - Monday, November 25, 2013 2:50 AM -
1 Votes
How to data bind ProgressBar in DataTemplate?
Because if you put the template in the resources of the TreeView it usually cannot find it.Answered | 5 Replies | 5505 Views | Created by DJ Were-Panda - Wednesday, June 17, 2009 11:48 PM | Last reply by DJ Were-Panda - Thursday, June 18, 2009 3:02 PM -
0 Votes
how to show datatemplate with view model
If you want to build a treeview which will have different objects - say Family and FamilyMember are types.Answered | 2 Replies | 1224 Views | Created by stevensrf - Friday, November 27, 2015 11:02 PM | Last reply by Andy ONeill - Sunday, November 29, 2015 2:24 PM -
0 Votes
wpf Heirarchical datatemplate
hi every body, I create a class by DTO using linQ which return me a Hierarchical data from Customers adnd orders and Order_Details nurthwind ...Answered | 1 Replies | 3575 Views | Created by mary2035 - Wednesday, September 3, 2008 4:43 AM | Last reply by Ilya Margolin - Saturday, September 6, 2008 4:01 PM -
0 Votes
Expanding TreeView Nodes
For those who want or need to do this programmatically, here is a blog post that has a sample that contains individual item selection as well as expanding the entire ...Answered | 2 Replies | 3616 Views | Created by Brandon Petersen - Tuesday, June 3, 2008 3:18 PM | Last reply by KevinKerr - Tuesday, June 3, 2008 5:48 PM -
0 Votes
Datatemplate
I get a hold at my datatemplate from C-sharp.Answered | 5 Replies | 3677 Views | Created by krex - Friday, September 19, 2008 11:35 AM | Last reply by krex - Tuesday, September 23, 2008 9:12 AM -
0 Votes
Multiple level treeview
Josh Smith has a wonderful article on TreeView using MVVM.Answered | 2 Replies | 3099 Views | Created by Shuyuntake - Wednesday, January 2, 2013 10:52 AM | Last reply by Sheldon _Xiao - Wednesday, January 16, 2013 10:20 AM -
0 Votes
Problem with TreeView
https://social.msdn.microsoft.com/Forums/vstudio/en-US/fdebbcf9-6e3d-4be6-b110-728154305d1c/wpf-treeview-get-child-and-parent?Answered | 4 Replies | 727 Views | Created by sb68 - Saturday, October 24, 2015 10:47 PM | Last reply by Magnus (MM8) - Sunday, October 25, 2015 10:11 PM -
0 Votes
Context Menus in Treeview
Then to do so in your XAML you can have: <TreeView Name="viewsTreeView" ItemsSource="{Binding Entities}" > ...Answered | 2 Replies | 2555 Views | Created by Gagan5678 - Thursday, September 13, 2012 5:03 AM | Last reply by linvỉ - Thursday, September 13, 2012 3:21 PM -
0 Votes
xaml c# treeview reorder ItemsControl
The way to work with a treeview in wpf is to bind a collection.Answered | 2 Replies | 1820 Views | Created by Innspiron - Tuesday, November 25, 2014 2:24 PM | Last reply by Andy ONeill - Wednesday, November 26, 2014 12:09 PM -
1 Votes
Treeview Not Displaying any results
Hi, please try this change: <TreeView Name="ItemTreeView" ItemsSource="{Binding Path=EmployeeHierarchy}"> ...Answered | 1 Replies | 405 Views | Created by NewTSqlUser - Monday, March 31, 2014 6:06 AM | Last reply by lapheal - Monday, March 31, 2014 8:18 AM -
0 Votes
DataTemplateSelector criterion versus DataTemplate DataContext
Much like your example, I have a treeview that contains items.Answered | 3 Replies | 7250 Views | Created by buzzweetman - Friday, June 15, 2007 3:50 PM | Last reply by EternalCoder - Monday, April 26, 2010 11:32 PM -
0 Votes
After applying DataTemplate, how to set a property of an inner controls?
You will need to give itemssource (Collection/datatable) to the treeview.Answered | 3 Replies | 3506 Views | Created by kcyeu - Tuesday, May 25, 2010 11:08 AM | Last reply by Mustehsan Ikram - Tuesday, May 25, 2010 1:02 PM -
0 Votes
DataTemplate and ContentPresenter
In the post I pointed to you would call the routine like this: DependencyObject tvi = findParentTreeItem(CurrentItem, typeof(DataTemplate) ...Answered | 6 Replies | 4245 Views | Created by guest23 - Monday, November 29, 2010 2:34 PM | Last reply by Sheldon _Xiao - Tuesday, December 7, 2010 3:33 AM -
2 Votes
Binding Combobox in ContextMenu in a TreeView
Andy's suggestion will work only if the DataContext of the TreeView and the parent UserControl are the same but so will your current way of trying to bind to a relative source provided that ...Answered | 2 Replies | 1031 Views | Created by Peter Viau - Friday, November 20, 2015 9:10 PM | Last reply by Magnus (MM8) - Saturday, November 21, 2015 3:07 PM -
1 Votes
Treeview SelectedValuePath always empty string
Because I've now bound the SelectedValuePath to property on FolderItem, but when I test it I get: Debug.WriteLine(tvFolders.SelectedValuePath);// = ...Answered | 4 Replies | 945 Views | Created by isvaljek - Wednesday, September 23, 2015 6:44 AM | Last reply by isvaljek - Friday, September 25, 2015 5:37 AM -
4 Votes
Build treeview with 2 objects with no relationship
Treeview is populated and any Adds/edits I make to the ProjectTasks are reflected in the TreeView.Answered | 6 Replies | 396 Views | Created by Peter Viau - Friday, November 27, 2015 6:47 PM | Last reply by Ed Price - MSFT - Friday, December 4, 2015 3:55 AM -
0 Votes
Bind DSL Model to WPF Treeview?
="{Binding Path=Name}" /> </DataTemplate> </TreeView.Resources> </TreeView> The property ...Answered | 4 Replies | 4385 Views | Created by Tomi Airaksinen - Thursday, March 17, 2011 8:59 PM | Last reply by Tomi Airaksinen - Friday, March 18, 2011 1:37 PM -
3 Votes
Selected item with HierarchicalDataTemplate Treeview
I would like to keep the highlight on the Treeview Selected.Answered | 3 Replies | 2501 Views | Created by Alveen Syllar - Wednesday, February 19, 2014 2:20 PM | Last reply by Alveen Syllar - Friday, February 21, 2014 11:27 AM - Items 1 to 20 of 46952 Next ›
No announcements