示例#1
0
        /// <inheritdoc/>
        protected override void OnMouseLeave(MouseDevice device, RoutedEventData data)
        {
            LinkUtil.UpdateLinkCursor(textLayoutCommands, this, Mouse.GetPosition(this));

            base.OnMouseLeave(device, data);
        }
示例#2
0
        /// <inheritdoc/>
        protected override void OnIsMouseOverChanged()
        {
            LinkUtil.UpdateLinkCursor(textLayoutCommands, this, null);

            base.OnIsMouseOverChanged();
        }
示例#3
0
        /// <inheritdoc/>
        protected override void OnMouseMove(MouseDevice device, Double x, Double y, Double dx, Double dy, RoutedEventData data)
        {
            LinkUtil.UpdateLinkCursor(textLayoutCommands, this, Mouse.GetPosition(this));

            base.OnMouseMove(device, x, y, dx, dy, data);
        }