Why does binding affect height?
问题 Style definition in Resources/Shared.xaml ( updated ): <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:system="clr-namespace:System;assembly=mscorlib"> <system:Double x:Key="fullHeight" >26</system:Double> <system:Double x:Key="halfHeight" >16</system:Double> <Thickness x:Key="m">10</Thickness> <Style TargetType="Button"> <Setter Property="FontSize" Value="{StaticResource fullHeight}"/> <Setter