// Token: 0x06006DE7 RID: 28135 RVA: 0x001FA101 File Offset: 0x001F8301
 protected override Cursor GetCurrentCursor()
 {
     if (base.InkCanvas.SelectionAdorner.IsMouseOver)
     {
         return(PenCursorManager.GetSelectionCursor(this._hitResult, base.InkCanvas.FlowDirection == FlowDirection.RightToLeft));
     }
     return(null);
 }
Esempio n. 2
0
 /// <summary>
 /// Retrieve the cursor
 /// </summary>
 /// <returns></returns>
 protected override Cursor GetCurrentCursor()
 {
     // 
     // We only show the selection related cursor when the mouse is over the SelectionAdorner.
     // If mouse is outside of the SelectionAdorner, we let the system to pick up the default cursor.
     if ( InkCanvas.SelectionAdorner.IsMouseOver )
     {
         return PenCursorManager.GetSelectionCursor(_hitResult,
             (this.InkCanvas.FlowDirection == FlowDirection.RightToLeft));
     }
     else
     {
         return null;
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Retrieve the cursor
 /// </summary>
 /// <returns></returns>
 protected override Cursor GetCurrentCursor()
 {
     // NTRAID:WINDOWSOS#1648430-2006/05/12-WAYNEZEN,
     // We only show the selection related cursor when the mouse is over the SelectionAdorner.
     // If mouse is outside of the SelectionAdorner, we let the system to pick up the default cursor.
     if (InkCanvas.SelectionAdorner.IsMouseOver)
     {
         return(PenCursorManager.GetSelectionCursor(_hitResult,
                                                    (this.InkCanvas.FlowDirection == FlowDirection.RightToLeft)));
     }
     else
     {
         return(null);
     }
 }
 // Token: 0x06006DD6 RID: 28118 RVA: 0x001F9A9A File Offset: 0x001F7C9A
 protected override Cursor GetCurrentCursor()
 {
     return(PenCursorManager.GetSelectionCursor(this._hitResult, base.InkCanvas.FlowDirection == FlowDirection.RightToLeft));
 }