Questions tagged [datagridrow]
13 questions
2
votes
1 answer
WPF VB DataGridCombox DataGridRow
I have gone at this for days and cant find a solution please help.
I have a WPF application I have a DataGridCombobox it has stuff in it (list of Arguments). I can also add free hand typed text into the Combobox like "Test" as shown in the graphic…

EngineerRegex
- 45
- 3
1
vote
1 answer
disable row selection in winui3 datagrid
I have been trying very hard to disable hover, mouse over and row selections on datagrid rows. I had used the following code for Wpf application in the past and it worked perfectly. However, I am in the middle of the process of migrating my code to…

Prefetcher Shatnawi
- 74
- 7
1
vote
1 answer
Datagridview rowsadded event fires before bindsource completed
First of all what i have:
I got a datagridview and bindsource (currently my own datatable from an sql-call). The bindsource has multiple columns, but one is a specific "position" column for my data.
What i want to do:
When i set the bindsource to…

SinseiJ
- 25
- 4
0
votes
2 answers
How to create solid background with rounded corners under rows only in DataGrid in WPF
I wish to make datagrid with solid background with rounded corners under rows only. Header row must be without background.
I tried several options to reach this by (row / header / datagrid) styles, but it wasn't successfull.
I guess the best way is…

Dmitry_IT_03
- 1
- 1
0
votes
0 answers
DataGrid React returning only the very last row
I am working with DataGrid react and I have somewhat of 3500 rows returned from my API call and I want to display these rows in my DataGrid. Mind you I have other similar tables with ~equal number of rows that populate fine. Does DataGrid sometimes…

Rediet Girma
- 1
- 2
0
votes
1 answer
How to change datagridrow backcolor based on "IsSelected" property?
I'm struggling to get the colors of a datagridrow to change colors based on row "IsSelected" property. I have looked at all examples and tried all the best I can but still can't get it to work. Well, actually it works on initial startup of the…

busarider29
- 185
- 5
- 18
0
votes
1 answer
Cannot select multiple row in wpf data grid
I have a datagrid and my purpose is to select multiple rows when the checbox cell of the row is checked. Problem is that one row is selected always. IsSelected property of the previous checked rows return false if i select one row. Please check the…

nihasmata
- 652
- 1
- 8
- 28
0
votes
1 answer
Using VisualStates in DataGridRow ControlTemplate
I created a custom style for a DataGridRow which also changes the control template which I obtained in Visual Studio (right click on the control and chose to edit copy of the template (sorry, I don't have the exact translation)). First I omitted the…

tabina
- 1,095
- 1
- 14
- 37
0
votes
1 answer
Show ContextMenu only when Right clicked mouse is over on a specific datagridrow WPF C#
I have a Page with a datagrid --> xaml code below:

Raffaele
- 19
- 2
0
votes
1 answer
How to set height of the UWP Toolkit DataGrid row?
Using this MSDN tip I try to set height of the UWP Toolkit DataGrid row but no success.
https://learn.microsoft.com/en-us/windows/communitytoolkit/controls/datagrid_guidance/sizing_options
Sizing Rows and Row Headers DataGrid Rows By default, a…

NoWar
- 36,338
- 80
- 323
- 498
0
votes
1 answer
No Row selected when clicked on WPF DatagridRow Border
I design a Datagrid based on Style set for DataGrid, DataGridRow and DataGridCell. I have set border between rows using DatagridRow Style and DGR_Border(as in code). When I click on a row it gets selected, but when I click on row borders, no row is…

Sujit Kumar
- 21
- 2
0
votes
1 answer
How to set DataGridRow Color and alternating row color in WPF?
How do I set the DataGridRow color to the DataGrid dependency property RowBackground?