Beispiel #1
0
        private static void OnMaximumChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            SliderSelector control = (SliderSelector)obj;

            control._scrollbar.Maximum = (double)((uint)args.NewValue);
            control.UpdateText();
        }
Beispiel #2
0
        private static void OnDescriptionChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            SliderSelector control = (SliderSelector)obj;

            control._desc.Text = (string)args.NewValue;
        }