defaultMetadata: new PropertyMetadata( defaultValue: null, propertyChangedCallback: (dp, e) =>
public static readonly DependencyProperty Value1Property = DependencyProperty.Register("Value1", typeof(int), typeof(ElementA), new PropertyMetadata(defaultValue: 1, propertyChangedCallback: (sender, e) => { if (Value1ChangedA != null) { Value1ChangedA(sender, e);
new(() => GetOrDefault(holder, name, defaultValue, comparisonType));