private static void SecondColorRangeTitlePropertyChanged(DependencyObject dependancy, DependencyPropertyChangedEventArgs args) { Experimenter instance = dependancy as Experimenter; if (instance != null) { instance._colorRange1.Title = instance.SecondColorRangeTitle; } }
private static void SecondColorRangeVisibilityPropertyChanged(DependencyObject dependancy, DependencyPropertyChangedEventArgs args) { Experimenter instance = dependancy as Experimenter; if (instance != null) { instance._colorRange2.Visibility = instance.SecondColorRangeVisibility; } }