mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 22:18:56 +00:00
Use AddOwner for MapBase.Foreground
This commit is contained in:
parent
3c907c3345
commit
197f004eeb
10 changed files with 45 additions and 60 deletions
|
|
@ -46,5 +46,12 @@ namespace MapControl
|
|||
|
||||
return property;
|
||||
}
|
||||
|
||||
public static StyledProperty<TValue> AddOwner<TOwner, TValue>(
|
||||
StyledProperty<TValue> property)
|
||||
where TOwner : AvaloniaObject
|
||||
{
|
||||
return property.AddOwner<TOwner>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue