1

如何制作改变 FontStretch 的动画?这是我尝试过的:

<Style TargetType="TextBlock" x:Key="TextBlockStyle">
  <Style.Triggers>
    <EventTrigger RoutedEvent="Button.MouseEnter">
      <EventTrigger.Actions>
        <BeginStoryboard>
          <Storyboard>
            <DoubleAnimation Storyboard.TargetProperty="FontStretch" To="UltraCondensed" Duration="0:0:0.3"/>
4

0 回答 0