Quantcast
Channel: Custom DataGrid column with a CellTemplate and binding - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Gregfr for Custom DataGrid column with a CellTemplate and binding

$
0
0

I think the simplest thing to do is to create a customcontrol then use it like this:

<DataGridTemplateColumn><DataGridTemplateColumn.CellTemplate><DataTemplate><controls:CustomColumn Header="Name" Binding="{Binding Name}" /></DataTemplate></DataGridTemplateColumn.CellTemplate></DataGridTemplateColumn>

I did something similar yesterday, and it works pretty well


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>