Renaming DataGrid Column Header at runtime

Sep 30, 2009 at 2:10 PM


I would like to add the capability to rename (via contextmenu) the a column header of a datagrid with a binding to a Dataset.

I tried to modify the style of the column header to have a textbox but was unable to bind it in a two way mode. Apparently it is not binding to the DataColumn of the dataset.

Has someone done this?