D
Doug
Hi,
I am using a datagrid in a windows app and binding it to an ArrayList.
The columns in the array list were appearing out of order so I fixed
that by using the DataGridColumnStyle object in the DataGrid and
setting the MappingName of each column appropriately.
My question though is on properties in the object that is in my
ArrayList that are booleans. Before I created the DataGridColumnStyle
object, the boolean properties showed up as checkboxes. Now, they show
up as a string type with the value written out as "true" or "false".
I'd much rather have the checkboxes. I tried to set the Format value
to System.Boolean or Bool in the DataGridColumnStyle object and neither
worked. Does anyone know what I should be doing?
I am using a datagrid in a windows app and binding it to an ArrayList.
The columns in the array list were appearing out of order so I fixed
that by using the DataGridColumnStyle object in the DataGrid and
setting the MappingName of each column appropriately.
My question though is on properties in the object that is in my
ArrayList that are booleans. Before I created the DataGridColumnStyle
object, the boolean properties showed up as checkboxes. Now, they show
up as a string type with the value written out as "true" or "false".
I'd much rather have the checkboxes. I tried to set the Format value
to System.Boolean or Bool in the DataGridColumnStyle object and neither
worked. Does anyone know what I should be doing?