mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
Added PropertyHelper
This commit is contained in:
parent
67e9989327
commit
068a9ef8a6
11 changed files with 76 additions and 61 deletions
|
|
@ -65,11 +65,7 @@ namespace MapControl
|
|||
protected override void OnInitialized(EventArgs e)
|
||||
{
|
||||
base.OnInitialized(e);
|
||||
|
||||
if (Stroke == null)
|
||||
{
|
||||
SetBinding(StrokeProperty, GetBinding(nameof(Foreground)));
|
||||
}
|
||||
this.ValidateProperty(StrokeProperty, this, nameof(Foreground));
|
||||
}
|
||||
|
||||
public Pen CreatePen()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue