Не существует присоединяемого свойства для CellTemplate
, но решение было найдено с помощью
<DataTemplate x:Key="TextCell">
<TextBox Text={Binding [DataName]}"/>
</DataTemplate>
<DataTemplate x:Key="DateCell">
<DatePicker Text{Binding [OtherDataName]}"/>
</DataTemplate>
и вызова здесь
<GridViewColumn Header="Foo" width="xx" CellTemplate="{StaticResource TextCell}"/>
<GridViewColumn Header="Bar" width="xx" CellTemplate="{StaticResource DateCell}"/>