Не получается обратиться к цвету теста TextBlock в ContentPresenter, TextBlock.Background и TextElement.Background уже пробовал, заранее спасибо.
<Style x:Key="MenuButton" TargetType="ListBoxItem">
<Style.Setters>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListBoxItem">
<Grid>
<Border Name="border" Padding="0" SnapsToDevicePixels="true" Background="Black">
<ContentPresenter x:Name="Icon"/>
</Border>
<Rectangle x:Name="req" Height="50" HorizontalAlignment="Right" Fill="White" Width="0"/>
</Grid>
<ControlTemplate.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsSelected" Value="true"/>
</MultiTrigger.Conditions>
<MultiTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation
Storyboard.TargetName="Icon"
Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)"
From="White"
To="Black"
Duration="0:0:0.2"/>
<DoubleAnimation
Storyboard.TargetName="req"
Storyboard.TargetProperty="Width"
To="50"
Duration="0:0:0.2"/>
</Storyboard>
</BeginStoryboard>
</MultiTrigger.EnterActions>
<MultiTrigger.ExitActions>
<BeginStoryboard>
<Storyboard>
<ColorAnimation
Storyboard.TargetName="Icon"
Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)"
From="Black"
To="White"
Duration="0:0:0.2"/>
<DoubleAnimation
Storyboard.TargetName="req"
Storyboard.TargetProperty="Width"
To="0"
Duration="0:0:0.2"/>
</Storyboard>
</BeginStoryboard>
</MultiTrigger.ExitActions>
</MultiTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style.Setters>
</Style>