treeviewitem Questions
3
Solved
I'm trying to set the IsExpanded property of my TreeView items using a conditional template, in the XAML:
<DataTrigger Binding="{Binding MyStatus}" Value="Opened">
<Setter TargetName="My...
Higa asked 23/8, 2013 at 13:20
2
Solved
I would like to run a command on the click of a tree view item, rather than in a menu that comes up. Right now in my package.json, I have this:
{
"command": "test.view.showError",
"when": "view...
Lamellibranch asked 25/7, 2018 at 18:50
3
Solved
i am writing one app and i need to set background under entire row by items. I found some inspiration in here but i cannot get idea how to get Border background value in template (the problem is a ...
Mindszenty asked 5/4, 2013 at 5:34
4
I want to adapt the default WPF TreeView/TreeViewItem template, so that the entire row can be highlighted, as shown in the image:
However, I've tried several templates from googling, but none of...
Ciapha asked 10/12, 2014 at 10:34
2
Solved
I'm developing a TreeView based control and my double click event continues to bubble up my TreeViewItem nodes.
The goal is to have the TreeViewItem expand or collapse when it is double clicked.
...
Comptroller asked 9/8, 2010 at 21:57
9
Solved
If I set TreeViewItem Background it highlights the header only. How can I highlight the whole line?
I have found a post almost solving a problem http://social.msdn.microsoft.com/Forums/en-US/wpf/...
Malacology asked 20/3, 2009 at 1:8
2
I want the parent of a node that is selected as TreeViewItem
I have a Person class with 2 fields. Name(String) and Children(List of string)
This is my xaml code
<Grid x:Name="gridView" Margin...
Uncoil asked 29/10, 2014 at 7:39
1
Solved
Intro:
I am currently working on my first TreeView in JavaFX.
The example given in the documentation is the following:
TreeItem<String> root = new TreeItem<String>("Root Node");
ro...
Comma asked 10/8, 2017 at 7:44
3
Solved
I have a treeview Item as such in a treeview that will have a list bound to it:
<TreeViewItem Name="tviOffline" Foreground="Red" FontWeight="Bold"
Header="Offline">
<TreeViewItem.ItemT...
Babby asked 28/11, 2010 at 7:59
9
XAML
<TreeView Name="GroupView" ItemsSource="{Binding Documents}">
<TreeView.ItemContainerStyle>
<Style TargetType="{x:Type TreeViewItem}">
<EventSetter Event="MouseDoubleC...
Vernalize asked 17/2, 2010 at 11:5
3
Solved
How can I change the Background of a selected TreeViewItem when the TreeView (or the Application) looses Focus. A selected item by default has in this situation a light grey background.
EDIT: A tr...
Ahmedahmedabad asked 31/3, 2011 at 12:38
3
Solved
I have a data-bound TreeView and I want to bind SelectedItem. This attached behavior works perfectly without HierarchicalDataTemplate but with it the attached behavior only works one way (UI to dat...
Noli asked 16/6, 2012 at 18:27
1
Solved
Sounds simple enough? I have a TreeView, and I want something to happen when one of the nodes is expanded. I'm using MVVM, so that 'something' is a command in the ViewModel.
Well, I'm finding that...
Wreath asked 26/4, 2014 at 21:55
1
Solved
I feel like I'm missing some essential concept in WPF databinding. It's always hit-or-miss whether my bindings are going to work for me.
In this example, I want to two-way bind the IsExpanded prop...
Refugiorefulgence asked 14/1, 2014 at 20:49
3
Solved
In WPF, when I right-click on a treeview item I would like it to be Selected/Activated before showing the context menu.
This sounds pretty simple, but the inclusion of a hierachicalDataTemplate co...
Mammal asked 28/4, 2009 at 13:35
1
Solved
I have an application with a treeview and a textbox:
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.mic...
Rounce asked 8/7, 2013 at 18:41
1
Solved
This is my next question following Hook into a child class SysTreeView32 of VBE window
I can access the SysTreeView32 now but I cant access the child node of the hNode. I have tried many variation...
Skin asked 11/6, 2013 at 12:18
1
Solved
Is it possible to change the Expand and Collapse Images of a JavaFX 2.2 TreeVIew?
Change this image,
To an image like this (with +/-),
Machismo asked 20/3, 2013 at 11:7
2
Solved
I have a typical treeview and a viewmodel. The viewmodel has an observable collection of other viewmodels that serves as a data source for the tree.
public class TreeViewVM {
public ObservableCo...
Shulamite asked 29/6, 2010 at 16:5
3
Solved
In XAML, how do you define a context menu for treeviewitems that are distinguished by different attributes?
Strobila asked 9/9, 2009 at 10:52
1
I have MVVM application with a WPF TreeView on the left side of a window.
A details panel on the right changes content depending on the tree node selected.
If user selects a node, the content of d...
Amelita asked 17/6, 2012 at 8:48
2
I have wpf TreeView -- bound to some data.
The Treeview resides on the left hand of a window divided into two areas where the tree is the navigation and a panel on the right side changes content de...
Empurple asked 1/2, 2011 at 21:14
1
Solved
I am merging two examples found on the internet. One about stretched selection styles and one about multi-selection in a treeview.
I have everything working, except for the indentations of the tre...
Circuitous asked 25/7, 2011 at 14:58
1
Solved
I am new to using styles, resources and templates in WPF. What I need to do is override the ToggleButton +/- in the TreeView to be an image, with a different image for each TreeViewItem root Node. ...
Ignatia asked 9/8, 2010 at 17:3
1
Solved
Some of my TreeViewItems are clickable and some are not.
For those that are not clickable, I changed the Foreground color to gray.
However, if that item has children, I want to also change the li...
Aristotelianism asked 14/10, 2009 at 15:57
1 Next >
© 2022 - 2024 — McMap. All rights reserved.