mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 07:55:13 +00:00
Reverted new() expressions
This commit is contained in:
parent
264f751d4e
commit
107b8e0f90
8 changed files with 52 additions and 23 deletions
|
|
@ -55,9 +55,9 @@ namespace MapControl
|
|||
set => SetValue(StrokeThicknessProperty, value);
|
||||
}
|
||||
|
||||
private readonly Polyline line = new();
|
||||
private readonly Polyline line = new Polyline();
|
||||
|
||||
private readonly TextBlock label = new()
|
||||
private readonly TextBlock label = new TextBlock
|
||||
{
|
||||
HorizontalAlignment = HorizontalAlignment.Center,
|
||||
VerticalAlignment = VerticalAlignment.Center
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue