Ejemplo n.º 1
0
        private static void MinimumMaximumTickChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            TimelineControl self             = (TimelineControl)sender;
            bool            newIsNoBound     = (self.MinimumTicks == null && self.MaximumTicks == null);
            bool            isNoBoundChanged = self.IsNoBounds != newIsNoBound;

            self.IsNoBounds = newIsNoBound;
            //if the are no bounds, we leave the process as is
            if (isNoBoundChanged)
            {
                //self.TickTimeSpan = Timeline.TickTimeSpanDefaultValue;
            }
            self.recalcMaxZoom = true;
        }
Ejemplo n.º 2
0
        private static void ItemsSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            TimelineControl self = (TimelineControl)o;

            self.ItemsSourceChanged(e);
        }
Ejemplo n.º 3
0
        private static void CurrentTimeChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            TimelineControl self = (TimelineControl)o;

            self.CurrentTimeChanged(e);
        }
Ejemplo n.º 4
0
        private static void TickTimeSpanChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            TimelineControl self = (TimelineControl)o;

            self.TickTimeSpanChanged(e);
        }