IPointerDevice.cs 567 B

1234567891011121314151617181920
  1. // Copyright (c) The Avalonia Project. All rights reserved.
  2. // Licensed under the MIT license. See licence.md file in the project root for full license information.
  3. using System;
  4. using Avalonia.VisualTree;
  5. namespace Avalonia.Input
  6. {
  7. public interface IPointerDevice : IInputDevice
  8. {
  9. [Obsolete("Use IPointer")]
  10. IInputElement Captured { get; }
  11. [Obsolete("Use IPointer")]
  12. void Capture(IInputElement control);
  13. [Obsolete("Use PointerEventArgs.GetPosition")]
  14. Point GetPosition(IVisual relativeTo);
  15. }
  16. }