mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
Add MapBorderPanel
This commit is contained in:
parent
be8c1d2c4b
commit
07710f0e40
5 changed files with 112 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue