当前位置: 代码迷 >> Silverlight >> MouseMove 事件如何写
  详细解决方案

MouseMove 事件如何写

热度:5083   发布时间:2013-02-26 00:00:00.0
MouseMove 事件怎么写
    <Style x:Key="abc" TargetType="Button">
        <Setter Property="i:Interaction.Triggers">
            <Setter.Value>
                <i:EventTrigger EventName="MouseMove">
                   // 将该button的Background颜色变成某颜色的代码
                </i:EventTrigger>
            </Setter.Value>
        </Setter>
    </Style>

写 <Setter Property="Background" Value="#FF47597E"/> 报错 如何写?
------解决方案--------------------------------------------------------
不行就在后台写