Esempio n. 1
0
        private static void OnIsActiveChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            RadBusyIndicator typedSender = sender as RadBusyIndicator;

            typedSender.OnIsActiveChanged(args);

            var peer = FrameworkElementAutomationPeer.CreatePeerForElement(typedSender) as RadBusyIndicatorAutomationPeer;

            if (peer != null)
            {
                peer.RaiseToggleStatePropertyChangedEvent((bool)args.OldValue, (bool)args.NewValue);
            }
        }
Esempio n. 2
0
        private static void OnContentPositionChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            RadBusyIndicator typedSender = sender as RadBusyIndicator;

            typedSender.OnContentPositionChanged(args);
        }