6
Festlegen des Standardstils für einen Typ in Code-Behind, z. für:Festlegen des Standardstils für einen Typ in Code-Behind
<ScaleTransform x:Key="scaler" ScaleX="1.25" ScaleY="1.25" />
<Style TargetType="{x:Type ToolTip}">
<Setter Property="LayoutTransform" Value="{DynamicResource scaler}"/>
</Style>
Ich brauche den Stil für den Tooltip in Code-behind, anstatt in dem XAML-Markup einzustellen.