From 44a2d6f2942877d487b1f38a5f4dc8c2fd5fc035 Mon Sep 17 00:00:00 2001 From: T Paine Date: Mon, 16 Sep 2019 14:14:18 -0700 Subject: [PATCH] SplitButton: Propagate FontFamily/Size/Weight properties to inner Button. (#1340) --- dev/SplitButton/SplitButton.xaml | 3 +++ dev/SplitButton/TestUI/SplitButtonPage.xaml | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/dev/SplitButton/SplitButton.xaml b/dev/SplitButton/SplitButton.xaml index f4c8bfed4c..0c80542523 100644 --- a/dev/SplitButton/SplitButton.xaml +++ b/dev/SplitButton/SplitButton.xaml @@ -254,6 +254,9 @@ ContentTemplate="{TemplateBinding ContentTemplate}" Command="{TemplateBinding Command}" CommandParameter="{TemplateBinding CommandParameter}" + FontFamily="{TemplateBinding FontFamily}" + FontSize="{TemplateBinding FontSize}" + FontWeight="{TemplateBinding FontWeight}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" diff --git a/dev/SplitButton/TestUI/SplitButtonPage.xaml b/dev/SplitButton/TestUI/SplitButtonPage.xaml index 046cb3aabf..fe85e1b2dd 100644 --- a/dev/SplitButton/TestUI/SplitButtonPage.xaml +++ b/dev/SplitButton/TestUI/SplitButtonPage.xaml @@ -46,6 +46,14 @@ + + + + + + + +