This project is read-only.

Binding the headers

Oct 22, 2012 at 10:17 AM
Edited Oct 22, 2012 at 10:20 AM


How I can bind the header?  I have tried:

<ExtendedGridControl:ExtendedDataGrid x:Name="AutomobilesGrid" ItemsSource="{Binding Path=Automobiles}" AutoGenerateColumns="False">
                    <ExtendedColumn:ExtendedDataGridTextColumn Width="Auto" Binding="{Binding Path=Number}" AllowAutoFilter="False">
                                <TextBlock HorizontalAlignment="Center" Text="{Binding DataContext.Dictionary[AutomobileNumber], RelativeSource={RelativeSource FindAncestor, AncestorType=ExtendedGridControl:ExtendedDataGrid}}"/>


But it doesn't work. If I use a a datagrid from WPF-Toolkit (toolkit= instead, all headers have a value.

How I can bind the ExtendedDataGrid headers?

Thank you!

Oct 22, 2012 at 5:19 PM



Can you please post small project where I can reproduce this issue.


Mar 19, 2013 at 10:46 AM

I am also facing the same issue. I cat change the Header via HeaderTemplate.

Is it possible or not?