/// <summary> /// Default PropertyChanged processing /// </summary> /// <param name="s"></param> /// <param name="changeType">invalidate</param> protected void OnPropertyChangedEx(string s, VisualChangeType changeType) { OnPropertyChanged(new PropertyChangedEventArgs(s)); if (changeType == VisualChangeType.Layout) InvalidateLayout(); else InvalidateRender(); }
/// <summary> /// Default PropertyChanged processing /// </summary> /// <param name="s"></param> /// <param name="changeType">invalidate</param> protected void OnPropertyChangedEx(string s, VisualChangeType changeType) { OnPropertyChanged(new VisualPropertyChangedEventArgs(s, changeType)); }