当前位置:编程学习 > C#/ASP.NET >>

怎么RoutedEvent 设置

  <Border x:Name="bb" Background="Transparent">
                    <Border.Triggers>
                        <EventTrigger   RoutedEvent="Button.Click" >
                            <BeginStoryboard>
                                <Storyboard x:Name="stb">
.........


<Button Content="botton1" Height="28"  Name="botton1"/>

<Button Content="botton1" Height="28"  Name="botton2" />


看以上代码,在border上加了一个eventtrigger,routedevent='Button.Click

但我窗口上有多个button ,
我想在botton1单击时才让border 触发动画,应该怎么改?
谢谢!
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,