Exemplo n.º 1
0
        private static void OnAttachedPropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
        {
            Resx resx = GetInstance(dependencyObject);

            if (resx != null)
            {
                resx.listener.Value = resx.GetValue();
            }
        }
Exemplo n.º 2
0
 public static void SetInstance(DependencyObject element, Resx value)
 {
     element.SetValue(InstanceProperty, value);
 }
Exemplo n.º 3
0
 public ResxListener(Resx parent)
 {
     this.parent = parent;
     Value       = parent.GetValue();
 }