Simplified DispatcherTimer wrapper

This commit is contained in:
ClemensFischer 2025-01-28 17:52:40 +01:00
parent 4ec73292c3
commit d83493a498
7 changed files with 28 additions and 46 deletions

View file

@ -32,7 +32,10 @@ namespace MapControl
public double Width { get; }
public double Height { get; }
public bool Contains(Point p) => p.X >= X && p.X <= X + Width && p.Y >= Y && p.Y <= Y + Height;
public bool Contains(Point p)
{
return p.X >= X && p.X <= X + Width && p.Y >= Y && p.Y <= Y + Height;
}
public static implicit operator Windows.Foundation.Rect(Rect r)
{