Change cursor in Windows Store Apps

前端 未结 2 1446
时光说笑
时光说笑 2020-12-06 10:22

I\'m making a Windows Store app in C# and I have a normal TextBlock with a link inside it. And all I want to do it to make the cursor change into a hand when it goe

2条回答
  •  广开言路
    2020-12-06 11:01

    Window.Current.CoreWindow.PointerCursor = 
        new Windows.UI.Core.CoreCursor(Windows.UI.Core.CoreCursorType.Hand, 1);
    

提交回复
热议问题