开发者

Setting the Cursor property in Silverlight has no effect

I'm trying to set the cursor so it changes to a hand when the mouse hovers the item. It doesn't seem to have any effect, the cursor remain开发者_运维技巧s the default one. Example:

<Grid x:Name="LayoutRoot" Background="White">
    <Rectangle Width="100" Height="100" Fill="Black" Cursor="Arrow" />
</Grid>

Any idea why?

Thanks!


Silly question, but...Arrow is basically the default cursor. Did you try this with other cursors like "Hand" or "Wait"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜