Added Avalonia MapContentControl

This commit is contained in:
ClemensFischer 2024-05-25 00:13:14 +02:00
parent 1e7dd235ef
commit 33cb30c570
2 changed files with 56 additions and 0 deletions

View file

@ -61,5 +61,12 @@ namespace MapControl
{
return property.AddOwner<TOwner>();
}
public static StyledProperty<TValue> AddOwner<TOwner, TValue>(
AvaloniaProperty property)
where TOwner : AvaloniaObject
{
return AddOwner<TOwner, TValue>((StyledProperty<TValue>)property);
}
}
}