Skip to content

Commit c70b2d2

Browse files
committed
Fix issue (#138
1 parent 0a29fb7 commit c70b2d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/WPFDevelopers.Shared/Styles/Styles.DataGrid.xaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
<Setter Property="BorderBrush" Value="Transparent" />
167167
<Setter Property="Background" Value="Transparent" />
168168
<Setter Property="FontSize" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontSize}" />
169+
<Setter Property="FontFamily" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontFamily}" />
169170
<Setter Property="FontWeight" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontWeight}" />
170171
<Setter Property="Padding" Value="{Binding Padding, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type DataGrid}}}" />
171172
<Setter Property="Template">
@@ -208,6 +209,7 @@
208209
<Setter Property="BorderBrush" Value="{DynamicResource WD.BaseBrush}" />
209210
<Setter Property="Background" Value="{DynamicResource WD.BackgroundBrush}" />
210211
<Setter Property="FontSize" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontSize}" />
212+
<Setter Property="FontFamily" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontFamily}" />
211213
<Setter Property="FontWeight" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontWeight}" />
212214
<Setter Property="ValidationErrorTemplate">
213215
<Setter.Value>
@@ -319,6 +321,7 @@
319321
<Setter Property="HorizontalContentAlignment" Value="Left" />
320322
<Setter Property="HorizontalAlignment" Value="Center" />
321323
<Setter Property="FontSize" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontSize}" />
324+
<Setter Property="FontFamily" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontFamily}" />
322325
<Setter Property="FontWeight" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontWeight}" />
323326
<Setter Property="Template">
324327
<Setter.Value>
@@ -391,6 +394,7 @@
391394
<Setter Property="BorderBrush" Value="{DynamicResource WD.BaseBrush}" />
392395
<Setter Property="BorderThickness" Value="0,0,0,1" />
393396
<Setter Property="FontSize" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontSize}" />
397+
<Setter Property="FontFamily" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontFamily}" />
394398
<Setter Property="FontWeight" Value="{Binding RelativeSource={RelativeSource AncestorType=DataGrid}, Path=FontWeight}" />
395399
<Setter Property="Padding" Value="{Binding Padding, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type DataGrid}}}" />
396400
<Setter Property="Template">

0 commit comments

Comments
 (0)