Hi All,
What I want is to apply a template to modify the way title is displayed for columns as follows;
<!-- Data Template for Xceed Column-->
<DataTemplate x:Key="colTemplate">
<Label Content="{xcdg:CellEditorBinding}" TextBlock.FontWeight="Bold" />
</DataTemplate>
If I use this template explicitly with each column as follows;
<xcdg:Column FieldName="AnyThing" TitleTemplate="{StaticResource colTemplate}" />
it works fine. But this way I have to specify this TitleTemplate for each and every column in the grid.
If I try to write a element targetted style for Column as;
<
Style TargetType="{x:Type xcdg:Column}">
<Setter Property="TitleTemplate" Value="{StaticResource colTemplate}" />
</Style>
it does not work. I've tried to put this style in Window.Resources, Grid.Resources and even in DataGridControl.Resources but of no use.
Any help is highly appreciated.
Thanks in advance
Abdullah Ansari
Senior Software Engineer
Outworks Solutions Private Limited
Everything is okay in the end. If its not okay, then its not the end.