Binding of DataGrid column header

This sample shows how to bind dynamically DataGrid Headers of Columns.The columns of DataGrid.Columns do not inherit the DataContext of the DataGrid element, so you cannot easy bind the Header with the default binding expression.This is caused by not inheriting from FrameworkElem

C# (36.5 KB)
 
 
 
 
 
(0)
714 times
Add To Favorites
1/7/2013
E-mail Twitter del.icio.us Digg Facebook