mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Add MapBorderPanel
This commit is contained in:
parent
be8c1d2c4b
commit
07710f0e40
5 changed files with 112 additions and 6 deletions
|
|
@ -39,7 +39,12 @@ namespace MapControl
|
|||
return (MapBase)element.GetValue(ParentMapProperty);
|
||||
}
|
||||
|
||||
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(ViewPositionPropertyKey, position);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue