Пример #1
0
        private static void OnPopoutDistanceChanged(DependencyObject d,
                                                    DependencyPropertyChangedEventArgs e)
        {
            ElementFlow ef = d as ElementFlow;

            ef.ReflowItems();
        }
Пример #2
0
        private static void OnCurrentViewChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ElementFlow   ef      = d as ElementFlow;
            ViewStateBase newView = e.NewValue as ViewStateBase;

            if (newView == null)
            {
                throw new ArgumentNullException("e", "The CurrentView cannot be null");
            }
            newView.SetOwner(ef);
            ef.ReflowItems();
        }
Пример #3
0
        private static void OnFrontItemGapChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ElementFlow ef = d as ElementFlow;

            ef.ReflowItems();
        }
Пример #4
0
        private static void OnTiltAngleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ElementFlow cf = d as ElementFlow;

            cf.ReflowItems();
        }