mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Version 4.10.0: Fixed Label Foreground Binding in UWP MapScale.
This commit is contained in:
parent
c8773cd551
commit
eca9178971
|
|
@ -42,7 +42,9 @@ namespace MapControl
|
||||||
|
|
||||||
line.SetBinding(Shape.StrokeProperty, GetBinding(StrokeProperty, nameof(Stroke)));
|
line.SetBinding(Shape.StrokeProperty, GetBinding(StrokeProperty, nameof(Stroke)));
|
||||||
line.SetBinding(Shape.StrokeThicknessProperty, GetBinding(StrokeThicknessProperty, nameof(StrokeThickness)));
|
line.SetBinding(Shape.StrokeThicknessProperty, GetBinding(StrokeThicknessProperty, nameof(StrokeThickness)));
|
||||||
|
#if WINDOWS_UWP
|
||||||
|
label.SetBinding(TextBlock.ForegroundProperty, GetBinding(ForegroundProperty, nameof(Foreground)));
|
||||||
|
#endif
|
||||||
Children.Add(line);
|
Children.Add(line);
|
||||||
Children.Add(label);
|
Children.Add(label);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue