Home › Forums › WPF controls › Xceed DataGrid for WPF › Removing the grouping header
Is there a recommended (or more palatable) way to remove the “Drag a column header here…” pane besides the following:
This seems a bit too brute force and lucky that the one I’m after is in index zero.
The desired effect is for me to just have the column headers showing with the possibility of styling them later on down the road….
Imported from legacy forums. Posted by John (had 2428 views)
use this codegrid.FixedHeaders.Clear();DataTemplate template = new DataTemplate(); template.VisualTree = new FrameworkElementFactory(typeof(ColumnManagerRow)); grid.View.FixedHeaders.Add(template);
Imported from legacy forums. Posted by Suresh (had 381 views)
Excellent! Thanks for that, works perfectly.
Imported from legacy forums. Posted by John (had 3275 views)