Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

How to make styles behave similarly treeview with child controls

I have a treeview with various controls in a treeviewItem, Textblocks, textboxes, checkboxes, and radio buttons. The problem is strictly cosmetic and only applies to when the treeview node is selected....
Steve S's user avatar
  • 89
0 votes
1 answer
36 views

I can't find a way to change the WPF Treeview togglebutton's size

I have an application on production with a TreeView control but when the client want to expand or collapse the tree, he finds it very annoying to click on the toggle button because the button is too ...
Yaya0306's user avatar
0 votes
1 answer
36 views

In WPF, how can I add a button to each tree view node that is expandable?

The node may be expanded or collapsed. Need to show the button in both cases. Something like this: ├─ item1 ├─ item2 <button> │ ├─ item2-1 │ ├─ item2-2 ├─ item3 <button> │ ├─ item3-1 │ ...
Igor's user avatar
  • 316
2 votes
1 answer
95 views

TreeView: prevent horizontal scrolling when selecting an item

Here is what is happening: Desired outcome: When selecting any item no horizontal scrolling should occur (even if the item is too big to show) Solution must work with virtualization Horizontal ...
Bent Rasmussen's user avatar
0 votes
0 answers
44 views

How to make TreeView in WPF expandable?

I create a TreeView with TextBlock(for clickable items of treeview) in HierarchicalDataTemplate and data shown correctly, but after any actions with TreeView it collapsing. So is there is a way make ...
TA1989's user avatar
  • 27
0 votes
1 answer
69 views

How to bind WPF TreeView's style item property IsExpanded to a command in MVVM

I have a WPF application that uses MVVM. There I have a treeview and need to add a button to collapse all nodes. The treeview has a custom ItemContainerStyle with the setter property IsExpanded. I ...
Igor's user avatar
  • 316
0 votes
0 answers
68 views

Reordering Treeview items via drag/drop

I have a two level deep collection that it's bound to (collection of parent items where each parent has a collection of child items). I'm trying to use the gong solutions package (https://github.com/...
pfinferno's user avatar
  • 1,975
0 votes
1 answer
102 views

C# WPF recursive duplicate nested hierarchy of elements

I have created treeview with dynamically filled from xml file hierarchy and I have issue. In treeview nested hierarchy was recursive duplicate and get result like this : XAML-markup of treeview: <...
TA1989's user avatar
  • 27
0 votes
1 answer
57 views

How can I edit the thumb to use a custom image (.png) in WPF?

I am working on creating an app which has a very specific looking GUI. My app contains TreeView which has a scrollbar. The scrollbar unfortunately is very basic and looks like your typical Windows ...
Ferg's user avatar
  • 1
-1 votes
1 answer
63 views

Getting Item in hierarchical TreeView

I've got in XAML <TreeView x:Name="FavoritesTreeView" SelectedItemChanged="FavpritesTreeView_SelectedItemChanged" PreviewMouseRightButtonUp="...
Igor Goblin's user avatar
0 votes
1 answer
87 views

Muti Tree View Select and Binding on WPF

I am currently working on a project that involves a multi-tree view selection in a MVVM,WPF application using C#. The tree view supports functionalities such as Cut, Copy, Move, and Paste between ...
Nguyen Vung's user avatar
0 votes
1 answer
109 views

WPF - Virtualizing Tree View - SelectedItem selection desappearing after item is selected through a Custom Search Box

I have a custom tree view user control that is using a Virtualizing Stack Panel since i have to display ~8000 items. The tree view also lives in a groupbox with custom SearchBox user control that ...
Jean's user avatar
  • 47
0 votes
1 answer
48 views

C# MVVM WPF TreeView with checkbox don't populate

My issue is that when i tried to create dynamically a TreeView with checkbox, but the TreeView is empty. After some research i tried this : Here is my treeview in XAML <TreeView x:Name="...
EmoFile's user avatar
0 votes
2 answers
50 views

WPF - Change treeview selection colors

I am interested in changing the background and foreground of all treeview selected item Looking at this page for reference https://learn.microsoft.com/en-us/dotnet/desktop/wpf/controls/treeview-styles-...
pf12345678910's user avatar
0 votes
0 answers
44 views

how to implement TextSearch with HierarchicalDataTemplate for TreeView?

I have a multi-level TreeView that implements data binding, just like: <TreeView IsTextSearchEnabled="True" IsTextSearchCaseSensitive="False" TextSearch.TextPath=&...
hchlqlz's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
157