private void OnResourcesChanged(object sender, ResourcesChangedEventArgs e) { if (_changeHandlers == null) { return; } foreach (Action <object, ResourcesChangedEventArgs> handler in _changeHandlers) { handler(this, e); } }
internal override void OnResourcesChanged(object sender, ResourcesChangedEventArgs e) { if (e == ResourcesChangedEventArgs.StyleSheets) { ApplyStyleSheets(); } else { base.OnResourcesChanged(sender, e); } }
internal virtual void OnParentResourcesChanged(object sender, ResourcesChangedEventArgs e) { if (e == ResourcesChangedEventArgs.StyleSheets) { ApplyStyleSheetsOnParentSet(); } else { OnParentResourcesChanged(e.Values); } }
internal void OnResourcesChanged(object sender, ResourcesChangedEventArgs e) { OnResourcesChanged(e.Values); }
void Item_ValuesChanged(object sender, ResourcesChangedEventArgs e) { OnValuesChanged(e.Values.ToArray()); }