Hi,
I want to read out a directory recursively to print the data-structure in an HTML-Page with Template::Toolkit.
But I'm hanging in how to save the Paths and Files in a form that can be read our easy.
My idea started like this
sub list_dirs{
my ($rootPath) = @_;
my (@paths);
$rootPath .= '/' if($rootPath !~ /\/$/);
...
I want to be able to dynamically modify the image in a c# treeview. Specifically, I would like to reduce the opacity in certain cases of certain images.
I know that I can add extra icons to the imagelist that is bound to the treeview, but as cases like this add up, the extra icons will get to be too much.
Is there a way to access the ...
Hello guys,
I have a treeview (winforms) which have different item types on it. I have three item types on it, and when a user clicks on it, it changes the icon of that clicked item to the first ImageList image.
I don't that to happen (altought i know it's desired behavior for default treeview).
Any chance I can do this? How?
Thanks
...
Is it possible to sort a TreeView collection using IComparer<T> and not IComparer? After all they are all TreeNode values, right?
...
So I am very new to WPF and trying to bind or assign a list of Drink values to a wpf treeview, but don't know how to do that, and find it really hard to find anything online that just shows stuff without using xaml.
struct Drink
{
public string Name { get; private set; }
public int Popularity { get; private set; }
public Dr...
I don't know how to bind a List of Drink to a WPF TreeView.
struct Drink
{
public string Name { get; private set; }
public int Popularity { get; private set; }
public Drink ( string name, int popularity )
: this ( )
{
this.Name = name;
this.Popularity = popularity;
}
}
List<Drink> coldDrinks...
I want to add textbox in treeview as child of one of the parent node. Is it possible> If yes how to achieve this?
...
How to find the parent of an ASP.NET TreeView node in JavaScript?
...
I have a large tree. I want to be able to visualize it using a GUI tool. I want the ability to pan and zoom the tree image so that i can focus on part of the tree.
Is there an existing tool to achieve this?
If not i would like to write a small tool for myself to be able to do this. what is the simplest way of doing this? what computer ...
A TreeNode class has
Text Name Tag
I need to assign more values to a TreeNode class like float1, float2, ... float6.
How can I do this??? pls help.
Thx,
Caslav
...
Is it possible and if so what is the best way to implement the following hierarchical structure in a silverlight (4) TreeView control? (where Item and Group are classes which can exist in the tree).
Group
|
|-Item
|
|-Group
| |
| |-Item
| |
| |-Item
|
|-Item
The structure could of course be arbitrarily more complex than this, if need...
I have an application with a very large TreeView control in Java. I want to get the contents of the tree control in a list (just strings not a JList) of XPath-like elements of leaves only. Here's an example
root
|-Item1
|-Item1.1
|-Item1.1.1 (leaf)
|-Item1.2 (leaf)
|-Item2
|-Item2.1 (leaf)
Would output:
/Item1/Item1.1/I...
I'm pretty new to Xaml and need some advise.
A TreeView should be bound to a hierarchical object structure. The TreeView should have a context menu, which is specific for each object type.
I've tried the following:
<TreeView>
<TreeView.Resources>
<DataTemplate x:Key="RoomTemplate">
<TreeViewItem Header="{Binding Name}">
...
I am using the Windows Forms TreeView class which contains a set of TreeNodes. The TreeNodes can have child nodes.
I have a root node with 2 sub nodes (Node1 and Node2)
Node1 has 2 subnodes (child1 and child2)
I have a function that will allow a user to select any node and move it to another node:
TreeNode SelectNode = this.TreeView1...
Could you tell me why I can't see subItems?
I've got winforms apps and I added my wpfusercontrol:ObjectsAndZonesTree
ServiceProvider is my webservice. Adn method to get listofcountires with subitems works properly (i get countires, regions from this countires, provinces etc...)
ElementHost elementHost = new ElementHost
...
I am having a problem with selecting a certain child node.
What I want to achieve: I you have this treeview for example (one parent with two child nodes): Parent -Child with a value 5 -Child with a value 2.
I want to add these two values and assign them to Parent node: Parent result 7 -Child 5 -Child 2.
Of course, a bigger treevi...
In Eclipse, I am using a TreeViewer to show a custom tree, whose contents are drawn from an ITreeContentProvider. Now I am trying to create a second view that allows me to automatically show a two-way comparisons of two such trees. I found various views for textual comparison within Eclipse, but I could not find an easy way to show the s...
Consider the following data structure:
List<Person> People;
class Person {
List<Car> Cars;
List<Hobby> Hobbies;
}
I want to bind a TreeView to this structure. And it should look like this:
People
> Frank
> Cars
> BMW
> Ford
> Hobbies
> Tennis
> Golf
> Jane
> Cars
> Hobbies
How can this be achieved in X...
How this make in XAML without ListView and TreeListView
...
I'm trying to replace the navigation on our sharepoint site with a treeview. It's a large site with up to 4 subsite leves in places. All I need it to do is
show a consistent structure from page to page
show only sites and pages
The default sharepoint treeview seems to do neither of these things (doesn't display items from the parent ...