This is driving me absolutely nuts.
I've got a WPF browser application that is somewhat like a content management system. We're going to use it for internal employees to get troubleshooting documentation. It consists of a Treeview, to hold all the topics, and a documentviewer control to display XPS documents.
Currently, I have XML th...
Hi to all,
I am developing a wpf desktop app with strict MVVM pattern.
Current my app is doing following things:
Showing a Treeview with HierarchicalDataTemplate.
User can expand or collapse Nodes.
User can add add new Nodes(Drag n Drop + double click).
Everytime a new Node is added Model is updated and Treeview ...
In my windows application I have a treeview. I made custum buttons to move a node downwards. This is what happens when a button is clicked:
Node destNode = tvCategories.SelectedNode.NextNode;
Node srcNode = tvCategories.SelectedNode;
Node parentNode = srcNode.Parent;
// Switch nodes
parentNode.Nodes[destNode.Index] = srcNode;
parentNod...
MSDN Says:
A tree-view control uses memory that
is allocated from the heap of the
process that creates the tree-view
control. The maximum number of items
in a tree view is based on the amount
of memory that is available in the
heap.
So, anecdotally or otherwise, can someone give me a ballpark of what this means? I expe...
I need a ListView that is like the listview on the right side of Windows Explorer. The ListView needs to have the expandable arrows. My idea, maybe use the ListView in a TreeView tempate?
...
What is the most accurate way to move a node up and down in a treeview. I got a context menu on each node and the selected node should be moved with all its subnodes.
I'm using C# .Net 3.5 WinForms
...
Here is my XAML:
<Style x:Key="ExpanderStyle" TargetType="{x:Type ToggleButton}">
<Setter Property="IsEnabled" Value="True" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Image Source="/Images/SHCalendarLeftArrow.tiff" />
...
Aloha,
I'm trying to populate a treeview on a windows form app with Hierarchical data from a SQL db.
The structure from the database is:
id_def id_parent description
1 NULL Multidificiência
2 NULL Síndrome
3 NULL Outros
4 1 Surdez de Transmissão
5 2 Surdez Neurossensorial Ligeira
6 3 ...
I'm testing a window that looks something like this:
Dragging a Tag to a Card links the Tag to the Card. So does dragging a Card to a Tag.
It's meaningless to drop a tag between two cards, or a card between two tags. I can ignore these outcomes in the Handle...DataReceived function like this:
if (dropPos != TreeViewDropPosition.Into...
I have a ListStore modeling a list of Tags. This list may change apart from the ListStore. What I'd like to do is listen to the TagRemoved event in my TagList class, and remove the Tag from the ListStore when the event is triggered. However, I can't seem to find a way to search a ListStore for the row containing a given Tag, so that I ca...
Is it possible to use a SQL query that returns XML, in order to bind a TreeView control to SQL data? In other words, I would like to set up a query that presents table data as hieracrhical XML, and bind this XML to the TreeView.
...
Howdy,
I got stuck in a situation. I have completed all of my codes necessary to drag and drop from a TreeView to a DataGridView, and the code works fine. Set DataGridView AllowDrop to True, set all the necessary handlers to accommodate dragging and dropping data from a populated TreeView control ( using a directory structure ).
What...
I have a requirement in which a menu should be implemented as a treeview on the left side of a window.
I know how to populate the treeview with the (menu)data (the mvvm way).
But: how do i hook up each object in the treeview to an ICommand (in the Viewmodel)?? so that e.g. double clicking an object results in opening a window??
Thank...
I have a TreeView menu populated from a SiteMapDataSource. The TreeView defaults to all nodes expanded, but the normal client side expand/collapse behaviour for the nodes is not working. I get one Javascript error in my Firebug console, being:
TreeView_ToggleNode is not defined
What could be causing this?
...
I have a treeview with 1000 items. When I select an item, the treeview fires an event so I can update something in my GUI. The event handler is non recursive and has no loops, but it does take a little bit of time to complete, maybe 100ms.
If I select the top item and use the down arrow to scroll through items slowly, everything works f...
Hi All,
I am creating a TFS tool that will get "changeset information" from the TFS server.
Now, I want to provide a "TFS Browser" so that the user can browse what "branch/folder" he wants to fetch information from.
I am using a TreeView control and the GetItems function to get the items' path from TFS:
private void treeView1_BeforeE...
Hi,
When I have a control like a WPF Treeview,
Naturally when the contents of that treeview exceed the maximum height or width a scroll appears.
Is there a way to obtain that scroll to move it or disable it?
Thanks
...
I have a ListStore that is filtered and then sorted. It looks something like this:
// Create a model for the cards
cardListStore = new ListStore (typeof (Card));
// Set up the tree view
cardFilter = new TreeModelFilter (cardListStore, null);
cardFilter.VisibleFunc = new TreeModelFilterVisibleFunc (FilterCards);
cardSort = new TreeModel...
Hello,
I have realized a asynchronous treeview in php, now i want to add onclick event to the items in the treeview, and then make query in mysql.
Do you know how to do that?
Thanks a lot.
Edit:
Async.html:
<script type="text/javascript">
$(document).ready(function(){
$("#black").treeview({
url: "twodimen.php"
}...
Hi
How to bind the gridview control to treeview , when user click for the + symbol the gridview has to display.. like tree structure hold the gridview data
Thank You
...