or
<DataTemplate x:Key="ValueWithFormatCellTemplate"> <Grid Background="{Binding BackgroundBrush}"> <Border BorderBrush="{Binding BorderBrush}" BorderThickness="1"> <TextBlock FontWeight="{Binding FontWeight}" Foreground="{Binding ForegroundColor}" Text="{Binding}" ToolTip="{Binding ToolTip}" /> </Border> </Grid> </DataTemplate>