mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Simplified new expressions
This commit is contained in:
parent
ae0ebc6fdb
commit
2ec8b1b987
6 changed files with 7 additions and 7 deletions
|
|
@ -55,9 +55,9 @@ namespace MapControl
|
|||
set => SetValue(StrokeThicknessProperty, value);
|
||||
}
|
||||
|
||||
private readonly Polyline line = new Polyline();
|
||||
private readonly Polyline line = new ();
|
||||
|
||||
private readonly TextBlock label = new TextBlock
|
||||
private readonly TextBlock label = new()
|
||||
{
|
||||
HorizontalAlignment = HorizontalAlignment.Center,
|
||||
VerticalAlignment = VerticalAlignment.Center
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue