DependencyPropertyHelper

This commit is contained in:
ClemensFischer 2024-05-23 23:05:30 +02:00
parent 33c4f47864
commit 25dc5dc139
3 changed files with 0 additions and 3 deletions

View file

@ -33,7 +33,6 @@ namespace MapControl
TValue defaultValue = default,
Action<FrameworkElement, TValue, TValue> changed = null,
bool inherits = false) // unused in WinUI/UWP
where TOwner : DependencyObject
{
var metadata = changed != null
? new PropertyMetadata(defaultValue, (o, e) => changed((FrameworkElement)o, (TValue)e.OldValue, (TValue)e.NewValue))