Wednesday, August 11, 2010

How to use a checkbox in a datagrid template column?

Apply the pre-defined column style DataGridBoolColumn.





e.g.:





DataGrid myGrid = new DataGrid();


DataGridColumnStyle myColumnStyle = new DataGridBoolColumn();


DataGridTableStyle myTableStyle = new DataGridTableStyle();


myTableStyle.GridColumnStyles.Add(myCo鈥?br>

myGrid.TableStyles.Add(myTableStyle);How to use a checkbox in a datagrid template column?
Can you be more specific about what you are using the checkbox for? Are you unable to get a checkbox in a templatecolumn?

No comments:

Post a Comment