我正在尝试更改按钮查看每个状态,现在我有了IsEnabled
IsPressed
IsMouseOver
,但是Tigger Property
释放鼠标左键是什么?
<Style x:Key="GoogleGreyButton" TargetType="{x:Type Button}">
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<!--Some setters here-->
</Trigger>
<Trigger Property="IsPressed" Value="True">
<!--Some setters here-->
</Trigger>
<Trigger Property="IsEnabled" Value="True">
<!--Some setters here-->
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>