有一个矩形
<Rectangle Name="rectangle1"
Width="24"
Height="288"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Stroke="Transparent"
StrokeThickness="1" >
如何在矩形上设置鼠标输入的触发器?
尝试将Fill="Transparent"
添加到Rectangle
的属性集。