mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 07:55:13 +00:00
Use expression bodies for properties
This commit is contained in:
parent
e8b37f03ff
commit
74ba508e26
33 changed files with 194 additions and 230 deletions
|
|
@ -22,14 +22,14 @@ namespace MapControl
|
|||
{
|
||||
public Size ArrowSize
|
||||
{
|
||||
get { return (Size)GetValue(ArrowSizeProperty); }
|
||||
set { SetValue(ArrowSizeProperty, value); }
|
||||
get => (Size)GetValue(ArrowSizeProperty);
|
||||
set => SetValue(ArrowSizeProperty, value);
|
||||
}
|
||||
|
||||
public double BorderWidth
|
||||
{
|
||||
get { return (double)GetValue(BorderWidthProperty); }
|
||||
set { SetValue(BorderWidthProperty, value); }
|
||||
get => (double)GetValue(BorderWidthProperty);
|
||||
set => SetValue(BorderWidthProperty, value);
|
||||
}
|
||||
|
||||
protected virtual Geometry BuildGeometry()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue