Exemple #1
0
 internal virtual void OnParentResourcesChanged(object sender, ResourcesChangedEventArgs e)
 {
     // if (e == ResourcesChangedEventArgs.StyleSheets)
     //  // ApplyStyleSheetsOnParentSet();
     // else
     //  OnParentResourcesChanged(e.Values);
 }
Exemple #2
0
 void OnResourcesChanged(object sender, ResourcesChangedEventArgs e)
 {
     if (_changeHandlers == null)
     {
         return;
     }
     foreach (Action <object, ResourcesChangedEventArgs> handler in _changeHandlers)
     {
         handler(this, e);
     }
 }
Exemple #3
0
 internal virtual void OnResourcesChanged(object sender, ResourcesChangedEventArgs e)
 {
     OnResourcesChanged(e.Values);
 }
Exemple #4
0
 void Item_ValuesChanged(object sender, ResourcesChangedEventArgs e)
 {
     OnValuesChanged(e.Values.ToArray());
 }