Exemplo n.º 1
0
        private static void OnMaximumChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            SliderSelector control = (SliderSelector)obj;

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

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