mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 22:18:56 +00:00
DependencyPropertyHelper
This commit is contained in:
parent
bc12b388de
commit
b7afd27c91
7 changed files with 21 additions and 19 deletions
|
|
@ -31,8 +31,8 @@ namespace MapControl
|
|||
public static AttachedProperty<TValue> RegisterAttached<TOwner, TValue>(
|
||||
string name,
|
||||
TValue defaultValue = default,
|
||||
bool inherits = false,
|
||||
Action<Control, TValue, TValue> changed = null)
|
||||
Action<Control, TValue, TValue> changed = null,
|
||||
bool inherits = false)
|
||||
where TOwner : AvaloniaObject
|
||||
{
|
||||
var property = AvaloniaProperty.RegisterAttached<TOwner, Control, TValue>(name, defaultValue, inherits);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue