It\'s not uncommon for me to write something like below for styling a data entry form, but my problem is that TextBox and TextBlock don\'t seem to
TextBox
TextBlock
I would like to suggest the two possible workarounds. It seems that each of Key and Type can be used but both of them cannot be used together as your question case, x:Key="BaseElementStyle" TargetType="{x:Type FrameworkElement}".
x:Key="BaseElementStyle" TargetType="{x:Type FrameworkElement}"
using x:Key
using x:Type