Im working with a TreeView in WPF.
What I have is :-
TreeRoot
-TreeViewItem1
-TreeViewItem2
-TreeViewItem3
-TreeViewItem4
What I want is
TreeRoot
-TreeViewItem1
-TreeViewItem2
-TreeViewItem3
-TreeViewItem4
So, Is there a way to increase the spacing between the TreeViewItems
...
I am working on a SWT Tree similar to the one here, however, I want to be able to show + signs in some cases instead of - for an expanded tree item. Is this possible ?
If not, is there Windows API to have custom icons for the expanded/collapsed state of a tree item ?
...
I have a particular unknown-depth model hierarchy which I want to present in a UI panel in a simplified form (no user interaction, no expand/collapse, just display parents and indent subtrees of children).
I have the following working fine as a TreeView, but it's heavier than what I want. Similar to how you can replace ListBox with Ite...
Where can I find System.Windows.Controls.dll for Silverlight 3? I need it to be able to use the TreeView control and the AutoCompleteBox control. Toolkit November 2009 is installed but the dll that I need was not included.
...
Hello all,
Is there a way to have the jquery treeview plugin automatically collapse when a user focuses on another element.
More detail about what I am trying to do:
I have a form where a user has to select an item from a large selection. To make this easier I have set up a small list of 5 commonly selected items each with associated ...
I have a form that looks a lot like Windows Explorer. On the left side I have a tree view control and on the right a regular panel. I want to have the ability to double click the splitter view to resize based on the width of the longest label in the tree view. Does anyone know of a good way of doing so?
My guess is that I would check...
I have a treeView with many nodes. I want that some nodes change their image when node collapsed/expanded. How can I do it ?
Unfortunately, TreeNode don't have properties like ExpandNodeImage, CollapseNodeImage \
TreeView can change very often, so nodes can be deleted/added.. i can delete child nodes and so on...
Maybe, there is a...
I am trying to make a folder explorer using TreeView control. now, I added an ImageList with two images - one for a folder and the other for selected folder. I used the 'BeforeExpand' event to change the icon of the current node (folder). The problem is that I dont know how to change it back when the user selects other folder... what eve...
I have an object of type list from which I wish to use to populate a treeview in asp.net c#.
Each object item has:
id | Name | ParentId
so for example:
id | Name | ParentId
-------------------------
1 | Alice | 0
2 | Bob | 1
3 | Charlie | 1
4 | David | 2
In the above example, the parent would be Alice having tw...
Hi all,
I have a public folder on the server that contains recursively nested sub folders.
In the various Leaf folders contains Images.
I wanted to create a server side file browser that will display the Images to the user.
I am using the ASP.NET TreeView Control.
I create the tree nodes using PopulateOnDemand.
If the user click on a ...
I have this TreeView:
Main Node Header="Main"
Sub Node Header="Sub1"
Final Node Header="Item1"
Final Node Header="Item2"
Sub Node Header="Sub 2"
Final Node Header="Item1"
Final Node Header="Item2"
I have two textboxes that are bound to this TreeView. One has its Text property bound to the TreeView's Selec...
I want to configure a treeview so that when all checkboxes of a parent are checked, then the parent checkbox is checked. And when all checkboxes are unchecked, the parent checkbox is unchecked. Does the treeview class have a standard property for that?
...
I am working with WPF TreeView control. I am creating a hierarchical data structure and assigning it to ItemsSource and it will generate TreeviewItems automatically. By default I use IsExpanded of TreeViewItem to true. But in a particular case, I want to set IsExpanded property to false. So that treeview loading doesn't take time to gene...
I'm using an ASP.net treeview on a page with a custom XmlDataSource. When the user clicks on a node of the tree, a detailsview pops up and edits a bunch of things about the underlying object. All this works properly, and the underlying object gets updated in my background object-management classes. Yay! However, my treeview just isn'...
I want to configure the tree view component so that would be the topmost parent node would have no chex box and all the others had.
...
i create my own dialog form with two buttons (ok, cancel) and checked list box. i want to get all selected strings in first form which shown second form. for that purpose i do function GetSelected which return CheckedIndices->GetEnumerator() of my list box. now i want to deselect all strings on pressed cancel button. And deselect all st...
I have a YUI Treeview that allows selection with checkboxes. After some operations, I destroy the tree (with tree.destroy()), and then create a new tree using the same containerID. This new tree should allow selection using checkboxes, but does not. What could be causing this?
...
Hello everyone,
I am writing a piece of software in C++ RAD studio 2010 and got a question about TreeView.
Is it possible to use multicolor text in a TTreeView component? I could not find a easy way but to implement custom drawing which seems to be weird nowadays. Are there any straight-forward ways or maybe additional components tha...
I have a CustomTreeCtrl with some items with children themselves.
Unfortunately there is no indication when only some children of an item are selected - the parent checkbox is either checked (all children selected) or unchecked (no children selected).
Is there any way of using a tri-state checkbox, rather than the current checked/unche...
The jQuery Treeview Plugin adds Collapse All, Expand All and Toggle All links to the "treeviewcontrol" div when the control property is defined as follows:
$("#black, #gray").treeview({
control: "#treecontrol",
persist: "cookie",
cookieId: "treeview-black"
});
This works great, but I'd like the ability to expand and collapse ...