コントロール テンプレートが stackpanel であるボタンがあります。スタックパネル内に textblock があります。そのテキスト ブロックのテキストを動的に変更する方法が疑問です。
<Button x:Name="Animate" Width="auto" Height="25" Click="Button_Click_2" Content="Close">
<Button.Template>
<ControlTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock x:Name="AnimateTextBlock" Text="Actions" VerticalAlignment="Center" FontSize="14"></TextBlock>
<Image Source="/HB.EmployeeInfo;component/Images/Actions.png" Width="20" Height="20"></Image>
</StackPanel>
</ControlTemplate>
</Button.Template>
</Button>
AnimateTextBlock テキストを動的に変更したい..??これを行う方法.?