mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-20 22:05:07 +00:00
Avalonia 12
This commit is contained in:
parent
d697992bdd
commit
35083c710b
3 changed files with 3 additions and 3 deletions
|
|
@ -95,7 +95,7 @@ public static class DependencyPropertyHelper
|
|||
return AddOwner(source, changed);
|
||||
}
|
||||
|
||||
public static void SetBinding(this AvaloniaObject target, AvaloniaProperty property, Binding binding)
|
||||
public static void SetBinding(this AvaloniaObject target, AvaloniaProperty property, ReflectionBinding binding)
|
||||
{
|
||||
target.Bind(property, binding);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ using Microsoft.UI.Xaml.Data;
|
|||
#elif AVALONIA
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Data;
|
||||
using Binding = Avalonia.Data.ReflectionBinding;
|
||||
using PropertyPath = System.String;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ using Microsoft.UI.Xaml.Shapes;
|
|||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Controls.Shapes;
|
||||
using Avalonia.Data;
|
||||
using Avalonia.Layout;
|
||||
using Binding = Avalonia.Data.ReflectionBinding;
|
||||
using PropertyPath = System.String;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue