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...
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.
...
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>
...
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. ...
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...
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...
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.
...
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...
Hi everybody!
How is it possible to change a WPF menu control layout to look like a treeview control?
Thaks in advance
...
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...
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...
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.
...
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}" />
...
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...
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...
Hello,
Could anyone please let me know how to change the folder icon of a jquery tree view on selecting the node item ?
...
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...
What is the best way to display hierarchical data in iPhone application?
Do you know some TreeView controls for iPhone?
...
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!
...
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...