Esempio n. 1
0
        /// <summary>
        /// Callback called when the IsSelected property's value has changed.
        /// </summary>
        /// <param name="d">Sender object.</param>
        /// <param name="e">Event arguments.</param>
        public static void IsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RangeBase3D rb = (RangeBase3D)d;

            rb.AdjustSelectionIndicatorVisibility();

            RangeElementSelectionManager.IsSelectedPropertyChanged(d, e);
        }
Esempio n. 2
0
 private static void IsSelectedPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 {
     (d as Knob).ChangeVisualState(true);
     RangeElementSelectionManager.IsSelectedPropertyChanged(d, e);
 }