datagridcell Questions

11

Solved

I understand you can make the whole DataGrid or a whole column readyonly (IsReadOnly = true). However, at cell level this property is ready only. But I do need this level of granularity. There is b...
Devote asked 1/10, 2010 at 22:1

3

I am trying to change the default style of a DataGridCell (within a WPF Toolkit DataGrid) when there is a validation error. The default is a red border. How can I put my own template? Thanks.
Adieu asked 13/3, 2010 at 19:59

5

Solved

I am trying to implement a very simple spreadsheet functionality based on a DataGrid. The user clicks on a cell The user types a value and presses return The current row is scanned and any cell f...
Grocer asked 24/11, 2013 at 0:43

2

Solved

I have DataGrid and one of the DataGrid columns looks like this <DataGridTextColumn Header="Value" Binding="{Binding Value, Converter={StaticResource BooleanToYesNoConverter}}" x:Name="_col...
Equerry asked 11/12, 2014 at 8:31

2

I have a data-bound DataGrid with alternating row background colors. I would like to color a cell differently based on the data it contains. I have tried the solution suggested by this thread htt...
Monogram asked 8/9, 2010 at 18:56

0

I need to select all the cells of a column which header was clicked , i took this from the following post : Selecting all Cells in Column when a certain column is clicked i wan't to select all ...
Pelisse asked 10/11, 2013 at 12:38

3

I have a DataGrid WPF control and I want to get a specific DataGridCell. I know the row and column indices. How can I do this? I need the DataGridCell because I have to have access to its Content....
Amphictyony asked 2/4, 2012 at 14:16

1

Solved

I used the following post to implement a datagrid bound to a list of dynamic objects Binding DynamicObject to a DataGrid with automatic column generation? The ITypedList method GetItemProperties ...
Deign asked 13/9, 2012 at 15:20

1

I have a datagrid with template columns in WPF. Couple of columns in the grid are readonly, others on focus become editable (instead of labels, textboxes, checkboxes and such appear). What I would...
Pancake asked 27/9, 2011 at 21:2

1

Solved

Using the WPF DataGrid I have the need to change various display and related properties of a DataGridCell - such as Foreground, FontStyle, IsEnabled and so on - based on the relevant value of the c...
Ante asked 2/9, 2010 at 15:12
1

© 2022 - 2024 — McMap. All rights reserved.