private void SetCursorToHandle(FrameworkElement handle) { var handleRect = handle.GetRectRelativeToParent().ActLike<IRect>(); var parentRect = ServiceLocator.CoreTypesFactory.CreateRect(0, 0, ActualWidth, ActualHeight); handle.Cursor = WindowsSizeCursorsThumbCursorConverter.GetCursor(handleRect, parentRect); }
private void SetCursorToHandle(FrameworkElement handle) { var handleRect = Mapper.Map<Rect>(handle.GetRectRelativeToParent()); var parentRect = new Rect(0, 0, ActualWidth, ActualHeight); handle.Cursor = WindowsSizeCursorsThumbCursorConverter.GetCursor(handleRect, parentRect); }