Example #1
0
        private static void OnAttachedPropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
        {
            Resx resx = GetInstance(dependencyObject);

            if (resx != null)
            {
                resx.listener.Value = resx.GetValue();
            }
        }
Example #2
0
 public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
 {
     Value = parent.GetValue();
     return(true);
 }
Example #3
0
 public ResxListener(Resx parent)
 {
     this.parent = parent;
     Value       = parent.GetValue();
 }