I cannot get backwards navigation using Shift+Tab to work in a TreeView that contains TextBoxs, forward navigation using Tab works fine and jump from TextBox to TextBox inside the TreeView. Anytime Shift+Tab is used when one of the TextBoxes inside the TreeView, then the focus is move to the previous control outside the TreeView, instead...
I have a treeView with checkboxes and with image list.
Im trying to fix its look on both devices 6.0 and 6.5 but i cant get it to work. Either its ok on one device and looks crappy on the other.
The checkboxes are so small on 6.5 that i cant even tap them. If i change the font i get huge checkboxes and text on 6.0 device. Also i dont k...
Right now you have to double click or click the + icon. Is there any way to make it so if a user clicks anywhere on the node it expands?
...
I have a very weird bug in a three level deep TreeView. It is intermittent and I can't find how to reproduce it consistently. After programmatically removing, adding then removing some third level items, when I click on the root item it isn't selected. It can still expand/collapse but can't be selected with a mouse click and it doesn't f...
Hi,
I have a well defined tree repository. Where I can rename items, move them up, down, etc. Add new and delete.
The data is stored in a table as follows:
Index Parent Label Left Right
1 0 root 1 14
2 1 food 2 7
3 2 cake 3 4
4 2 pie ...
Hi,
I am trying to refresh an asp.net page using this command:
<meta http-equiv="Refresh" content="10"/>
On that page I have 2 treeviews. The refresh works ok when I just open the page, but when I click on one of the treeviews and expand it, the refresh stopps working and the page isnt being refreshed.
Any ideas why this can happen?...
Hello colleagues. I want bind my treeview. There are a lot of samples binding treeview by object, which contains children collection. I've got domain having just Parent pointer.
public class Service : BaseDomain
{
public virtual string Name { get; set; }
public virtual string Description { get; set; }
publi...
How can I determine TreeViewItem clicked in PreviewMouseDown event?
...
How do you make one line bold in a TreeView Class in WPF/C#?
I mean, how do you make just one line in a Tree View bold at runtime?
...
If I handle the PreviewMouseDown event on TreeViewItem, I get events for everything I click on that TreeViewItem include the little +/- box to the left (Windows XP). How can I distinguish that?
I tried the following:
// We've had a single click on a tree view item
// Unfortunately this is the WHOLE tree item, including the +/-
// symbo...
Please provide some code example.
Thanks.
...
OK this is probably insane, but I want to be able to have a check box at the very top of every row in my tree view. This box will "disable" or "enable" the ability to use the column. Oh I think it should be mentioned that I'm using a ListStore and am using C#, mono, GTK#. However, ill take anything and try to figure it out.
Ill even acc...
I want to create a completely generic treeview like structure. some thing like this:
public class TreeView<T, K, L>
{
public T source;
public K parent;
public List<L> children;
}
as you can see in this class source, parent and also the children, all have a different generic data type. also i want my tree view to have unlim...
I'm using the tree control in GWT. I have a custom widget that I add as a TreeItem:
Tree testTree = new Tree();
testTree.addItem(myWidget);
I would like to retrieve myWidget instance on the node opening event. Is it possible ? Does anybody knows which event should I be using ?
I tried the openHandler<TreeItem> but what I retrieve is...
I tried the solution discussed here: http://stackoverflow.com/questions/2030678/wpf-treeview-itemselected-moves-incorrectly-when-deleting-an-item
however, I'm still seeing the selection jump to that parent when deleting an item. What am I doing wrong?
MainWindow.xaml
<Window x:Class="TreeViewDelete.MainWindow"
xmlns="http://schema...
When a node in my TreeView has multiple lines, the TreeView bullet gets vertically centered.
How can I top-align the TreeView bullet?
<pages:BasePage.Resources>
<data:HierarchicalDataTemplate x:Key="OutlineTemplate"
ItemsSource="{Binding OutlineDocumentObjects}">
<TextBlock Text="{Binding Line}"
TextW...
I've given my WPF ListView a context menu:
<TreeView ContextMenuOpening="TreeView_ContextMenuOpening">
<TreeView.ContextMenu>
<ContextMenu>
<MenuItem Name="NewInputMenuItem" Header="Add" Click="AddInputMenuItem_Click" />
<MenuItem Name="RemoveInputMenuItem" Header="Remove" Click="RemoveInputMenuItem_C...
I've got a MVVM WPF app with the TreeView databound to a viewmodel class. It is essentially a file explorer. I want to add the ability to "Add a new folder" to the hierarchy. To achieve the desired functionality what I am trying to do is simply switch the Textblock out for an editable TextBox in my datatemplate. This is what my datat...
I am using a treeview to display projects, tasks, time entries, and the people who are working on a project. I would like to allow the user to define a custom grouping (ie. Project->Task->Time Entries or Project->Date (of time entry)->Task->TimeEntry).
The relevant groups would be Project, Task, Time Entry, and Person, with some meta...
I have an object with child object(s) and I load it using linq. And I assign it to a treeView's itemssource.
treeView.DisplayMemberPath = "Name";
treeView.ItemsSource = tasks;
It shows only the parent nodes (task.name), I couldn't figure out how to add children (TaskItems.name).
All the examples show HierarchicalData in xaml. I need t...