Does anyone know if it's possible to access a DataGrid column by using it's x:name (as defined in the xaml) from within the code behind ?
I know I can use the following code :
myDataGridList.Columns[0].Header = "Some Data";
..but I would prefer to use something like this if possible:
myDataGridList.Columns["ColumnName"].Header = "Some Data";
Thanks in advance.