Code style

This commit is contained in:
ClemensFischer 2025-06-06 11:39:26 +02:00
parent e3b221a80b
commit bcd12ba5b8
3 changed files with 13 additions and 29 deletions

View file

@ -123,11 +123,7 @@ namespace MapControl
if (LocationMemberPath != null && container is MapItem mapItem)
{
mapItem.SetBinding(MapItem.LocationProperty,
new Binding
{
Path = new PropertyPath(LocationMemberPath),
Source = item
});
new Binding { Source = item, Path = new PropertyPath(LocationMemberPath) });
}
}