Add MapBorderPanel

This commit is contained in:
ClemensFischer 2023-01-14 18:41:10 +01:00
parent be8c1d2c4b
commit 07710f0e40
5 changed files with 112 additions and 6 deletions

View file

@ -67,7 +67,12 @@ namespace MapControl
return parentMap;
}
private static void SetViewPosition(FrameworkElement element, Point? position)
/// <summary>
/// Sets the attached ViewPosition property of an element. The method is called during
/// ArrangeOverride and may be overridden to modify the actual view position value.
/// An overridden method should call this method to set the attached property.
/// </summary>
protected virtual void SetViewPosition(FrameworkElement element, ref Point? position)
{
element.SetValue(ViewPositionProperty, position);
}