コントロールテンプレートを介してカスタマイズされたTabItemsを含むTabControlがあります。このコントロールテンプレートは、マウスオーバー時にタブヘッダーのコンテンツがわずかに大きくなるトリガーを指定します。
<ControlTemplate>
<Storyboard x:Key="TabHeaderGrow">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="TabName" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1.1"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="TabName" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1.1"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<ControlTemplate.Triggers>
<EventTrigger RoutedEvent="Mouse.MouseEnter">
<BeginStoryboard Storyboard="{StaticResource TabHeaderGrow}"/>
</EventTrigger>
いずれかのタブにマウスを合わせると期待どおりに機能しますが、タブ本体のいずれかの要素にマウスを合わせるとトリガーも起動します。コントロールのスタイルをtabHeadercontrolTemplateに移行する必要があることはわかっていますが、その方法がわかりません。タブヘッダーのコンテンツのテンプレートバインディングを実行できないようです。