Replaced RenderSize by ActualWidth/Height

This commit is contained in:
ClemensFischer 2024-07-15 20:10:28 +02:00
parent 4e6d0db24f
commit fa508f51e7
16 changed files with 67 additions and 51 deletions

View file

@ -29,7 +29,8 @@ namespace MapControl
AffectsRender<PushpinBorder>(ArrowSizeProperty, BorderWidthProperty, CornerRadiusProperty, BackgroundProperty, BorderBrushProperty);
}
private Size RenderSize => Bounds.Size;
public double ActualWidth => Bounds.Width;
public double ActualHeight => Bounds.Height;
public CornerRadius CornerRadius
{