private static void OnValueChanged( DependencyObject relatedObject, DependencyPropertyChangedEventArgs e) { HsvControl hsvControl = relatedObject as HsvControl; if (hsvControl != null && !hsvControl.m_withinUpdate) { hsvControl.UpdateThumbPosition(); } }
private static void OnHueChanged( DependencyObject relatedObject, DependencyPropertyChangedEventArgs e) { HsvControl hsvControl = relatedObject as HsvControl; if (hsvControl != null && !hsvControl.m_withinUpdate) { hsvControl.UpdateSelectedColor(); } }
private static void OnThumbDragDelta(object sender, DragDeltaEventArgs e) { HsvControl hsvControl = sender as HsvControl; hsvControl.OnThumbDragDelta(e); }