我需要在触发器中更改 TreeViewItem 的光标。此代码适用于所有其他属性,但不适用于 Cursor:
<Style.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="QuickPhrases:TreeViewChecker.IsMouseDirectlyOverItem"
Value="True">
</Condition>
<Condition Property="CanSelect" Value="True"></Condition>
</MultiTrigger.Conditions>
<Setter Property="BorderThickness" Value="0,0,0,1" />
<Setter Property="BorderBrush" Value="Blue" />
<Setter Property="Cursor" Value="Hand"></Setter>
<Setter Property="Foreground" Value="Blue"></Setter>
</MultiTrigger>
</Style.Triggers>
什么给出了,还有,我该如何正确地做到这一点?