顯示 Cursor
System.Windows.Forms.Cursor.Hide();
顯示 Cursor
System.Windows.Forms.Cursor.Show();
詳細可參閱 MSDN
Stylus 隱 藏 /顯示
轉錄 Coding James 在 WPF中關閉觸控指標(Disable Touch Pointer)
private void DisableTouchStylus(UIElement u)
{
   ///  disable flicks gesture 
   Stylus.SetIsFlicksEnabled(u, false);
    /// disable press and hold gesture 
    Stylus.SetIsPressAndHoldEnabled(u, false);
   /// disable  tap gesture 
   Stylus.SetIsTapFeedbackEnabled(u, false);
    /// disable touch pointer 
    Stylus.SetIsTouchFeedbackEnabled(u, false);
}
 
沒有留言:
張貼留言