Exemplo n.º 1
0
        private static void SliderListChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MultiSlider ms = (MultiSlider)d;

            if (ms.UpSliders == null || ms.DownSliders == null)
            {
                return;
            }

            ms.ReArrangeSliderItems();
            //ms.ApplyTemplate();
            //ms.UpSliders = ms.Template.FindName("PART_UpSliders", ms) as Grid;
            //ms.UpSliders.Children.Add(ms.SliderList[0]);
        }
Exemplo n.º 2
0
        private static void OnUpdatePatternCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            MultiSlider ms = (MultiSlider)d;

            ms.ReArrangeSliderItems();
        }