UpdateThumbPosition() private méthode

private UpdateThumbPosition ( ) : void
Résultat void
Exemple #1
0
        private static void OnSaturationChanged(DependencyObject relatedObject, DependencyPropertyChangedEventArgs e)
        {
            HsvControl control = relatedObject as HsvControl;

            if ((control != null) && !control.m_withinUpdate)
            {
                control.UpdateThumbPosition();
            }
        }
Exemple #2
0
        private static void OnValueChanged(
            DependencyObject relatedObject, DependencyPropertyChangedEventArgs e)
        {
            HsvControl hsvControl = relatedObject as HsvControl;

            if (hsvControl != null && !hsvControl.m_withinUpdate)
            {
                hsvControl.UpdateThumbPosition();
            }
        }