Skip to content

Commit

Permalink
Merge pull request #120 from unoplatform/dev/sb/data-grid-header-temp…
Browse files Browse the repository at this point in the history
…late

Add ContentTemplate Binding to DataGridColumnHeader
  • Loading branch information
davidjohnoliver authored Dec 15, 2020
2 parents b139f9a + 3688e5f commit 2e0e348
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@
<ColumnDefinition MinWidth="32" Width="Auto"/>
</Grid.ColumnDefinitions>

<ContentPresenter Content="{TemplateBinding Content}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
<ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" HorizontalAlignment="Left" VerticalAlignment="Center"/>

<FontIcon Grid.Column="1" x:Name="SortIcon" FontFamily="{ThemeResource SymbolThemeFontFamily}" Glyph="{ThemeResource SortIconAscending}" FontSize="12"
Foreground="{ThemeResource DataGridColumnHeaderForegroundBrush}" HorizontalAlignment="Center" VerticalAlignment="Center" Opacity="0"/>
Expand Down

0 comments on commit 2e0e348

Please sign in to comment.