Files
cefsharp/CefSharp.Wpf/Internals/IMousePositionTransform.cs
Alex Maitland b26cb077e3 WPF - Fixed Html Dropdown positioning when near bottom of screen (Cleanup) (#4759)
* WPF - Popup Mouse Transform

- Refactor and performance improvements
- WPF Example - Enable popup transform by default

Issue #2820
2024-03-16 08:03:16 +10:00

15 lines
425 B
C#

using CefSharp.Structs;
namespace CefSharp.Wpf.Internals
{
/// <summary>
/// Implement this interface to control transform the mouse position
/// </summary>
public interface IMousePositionTransform
{
System.Windows.Point UpdatePopupSizeAndPosition(Rect originalRect, Rect viewRect);
void OnPopupShow(bool isOpen);
void TransformMousePoint(ref System.Windows.Point point);
}
}