private static void OnAttachedPropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs) { Resx resx = GetInstance(dependencyObject); if (resx != null) { resx.listener.Value = resx.GetValue(); } }
public static void SetInstance(DependencyObject element, Resx value) { element.SetValue(InstanceProperty, value); }
public ResxListener(Resx parent) { this.parent = parent; Value = parent.GetValue(); }