mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Version 4.9.0: Reworked MapPanel child arrangement.
This commit is contained in:
parent
ff013ccf86
commit
4608909ca9
3 changed files with 16 additions and 13 deletions
|
|
@ -56,6 +56,17 @@ namespace MapControl
|
|||
public static readonly DependencyProperty StrokeMiterLimitProperty = Shape.StrokeMiterLimitProperty.AddOwner(
|
||||
typeof(MapOverlay), new FrameworkPropertyMetadata { AffectsRender = true });
|
||||
|
||||
public MapOverlay()
|
||||
{
|
||||
Loaded += (s, e) =>
|
||||
{
|
||||
if (Stroke == null)
|
||||
{
|
||||
SetBinding(StrokeProperty, GetBinding(ForegroundProperty, nameof(Foreground)));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public Pen CreatePen()
|
||||
{
|
||||
return new Pen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue