treeview

Show Form from TreeView in VB.NET

I am attempting to show a specific form using a treeview control, the nodes of which have their tag value set to an instance of the Form I need to show. The code I have in the DoubleClick event works great for the first time I show a form, but after that I get an object disposed exception. As you can see, I tried handling it by resetti...

How to truncate a text in a custom GtkCellRenderer?

Hi. I trying to create custom GtkCellRenderer with some text. And I want this text truncated, when a size of GtkCellRenderer is smaller than size of text. For example: How can I do this? Is this some property of CellRenderer or PangoLayout or I need to do this manually? P.S. Sorry for my English. ...

WPF TreeView HierarchicalDataTemplate Unlimited Nodes

I am having problems populating my treeview beyond the first level when the xml is using the same class name to have unlimited levels. I have used Xsd2Code to create the object class. To keep this post from being 3000 lines long, I am including a link for downloading the project. It can be downloaded here My XML example <Testing> ...

Which jQuery treeview is the most appropriate for the demand?

Here comes a requirement and i'm still at the beginning of choosing jQuery treeview plugin, which should support c# web service. the datasource is really a big one, so all treeview nodes must be collapsed defaultly. Once user click a node to expand, an extra parameter will be passed into the webmethod and populate its children treeview. ...

WPF TreeView drag and drop using preview

I'm handling drag and drop events in a TreeView using PreviewMouseDown, PreviewMouseMove and PreviewMouseUp, however, there is an issue. In my PreviewMouseDown handler, I set everything ready in case there's a drag started (detected in the Move event), however I set e.Handled = true. This means that standard selection events don't get g...

What is the "standard" JQuery treeview that most people use? It seems the most popular plugin isn't supported anymore!?

I've chosen JQuery as my JavaScript library but now I'm a bit frustrated by the JQuery plugin site... the site kinda sucks... the plugin area isn't designed very well and I can only find a few treeviews. The one with the most votes (link text) isn't supported anymore. Can someone please point me to an industrial strength treeview? D...

how to link to WebMethod when using jQuery treeview?

I'm using jQuery treeview plugin to populate a child treeview once click a folder node to expand. but $("#tv").treeview({url: webservice/webmethod}); but doesn't work, and failed to call webthod. How to make it? Thanks. ...

TreeView update bug in the .net framework

Consider the following code: Dim Working As Boolean = False Private Sub TreeView1_AfterCheck(ByVal sender As Object, ByVal e As System.Windows.Forms.TreeViewEventArgs) Handles TreeView1.AfterCheck If Working Then Exit Sub Working = True e.Node.Checked = Not e.Node.Checked Working = False End Sub Private Sub TreeView1_Mo...

Change layout of menu to look like a treeview

Hi everybody! How is it possible to change a WPF menu control layout to look like a treeview control? Thaks in advance ...

EventSetter - error XAML in Visual Studio designer

Hi! I've done my TreeView all with XAML but now I'd like to manage an event with code-behind. The HierarchicalDataTemplate contains an Image. I need to capture the events MouseEnter / MouseLeave on the Image. I've tried in this way: <Image x:Name="imgArticolo" Source="{Binding imgArt}"> <Image.Style> <Style TargetType="{x...

connecting to multiple resources

I would like to know if there is a way to connect to multiple resources: Specifically I have the following problem abstact class BaseClass { ObservableCollection<BaseClass>; } class GrandSonClass:BaseClass{} class SonClass:BaseClass{} class FatherClass:BaseClass { CollectionViewSource col = new CollectionViewSource ; col.Sourc...

Selectable TreeView in Visual C#

Are there any good tutorials out there to develop a selectable TreeView in Visual Studios? What I am searching for is for something that would display my drives in a tree view and have a checkbox next to each drive, folder and file. This will be used in a replication program. Thanks a million. ...

silverlight treeview not loading subitems

I'm interested in finding out why this isn't working: I have a treeview with some hierarchicaldatatemplates looking like this: <UserControl.Resources> <sdk:HierarchicalDataTemplate x:Key="nodeEntry"> <StackPanel Orientation="Horizontal"> <TextBlock Text="{Binding Path=Title}" /> ...

Eclipse JFace TreeViewer level auto expansion doesn't work

According to the Eclipse documentation TreeViewer.setAutoExpandLevel(3) means that top-level elements are expanded, and their children, but not grandchildren. I used that in my code, but after setting the input the tree is not auto-expanded, neither on OS X nor on Linux. Expanding the tree manually (via mouse) works flawlessly. Am I mis...

How to use a control like the one in Visual Studio's Class Details window

There is a control in Visual Studio's Class Details window (accessed via Class Diagram) which combines a ListView with a TreeView. The result looks something like this: TreeViewNode1 Column 1 Column 2 Column 3 Column 1 Column 2 Column 3 TreeViewNode2 Column 1 Column 2 Column 3 Column 1 Colu...

Change Jquery tree view folder icon on seletcting tree node

Hello, Could anyone please let me know how to change the folder icon of a jquery tree view on selecting the node item ? ...

Changing the itemsSource of a treeview makes it's children invisible, when they were already displayed

I found some strange problem in WPF, using the itemsSource of a treeview. I hope I can make this specific problem clear for you. First; a story. There is a treeview. It has a list with treeviewitems as itemsSource. This list is called _roots. There is another list, called _leafs. For as in a treeview, the _roots contain the _leafs in so...

How to present hierarchical data in iPhone application?

What is the best way to display hierarchical data in iPhone application? Do you know some TreeView controls for iPhone? ...

Can i make TreeView remember its structure when raising OnPropertyChanged?

Is it possible to not reset the nodes which are open and closed when the OnPropertyChanged-event is fired and the TreeView updates is ItemsSource? If i add an object now, all nodes collapses! ...

WPF TreeViewItem Context Menu Unhighlights Item

I have been having problems with this for some time now, and have come up with some less-than-desirable solutions. The problem is that when a TreeViewItem's context menu is opened, the TreeViewItem is greyed out. Is it possible for a TreeViewItem to stay highlighted while its ContextMenu is open? The problem with the TreeViewItem greyin...