Esempio n. 1
0
        private static void OnIsActivePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            WetChatWaitControl w = d as WetChatWaitControl;

            w.rootGrid = w.GetTemplateChild("rootGrid") as Grid;
            if (w.IsActive && w.rootGrid != null)
            {
                w.StartAnimation(null, null);
            }
        }
Esempio n. 2
0
        private static void OnRadiusPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            WetChatWaitControl w = d as WetChatWaitControl;

            w.rootGrid = w.GetTemplateChild("rootGrid") as Grid;
            if (w.rootGrid == null)
            {
                return;
            }
            OnPropertyChanged(w);
        }