private static void IsActiveChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            CirclePointRingLoading loading = sender as CirclePointRingLoading;

            if (loading == null)
            {
                return;
            }
            loading.UpdateActiveState();
        }
예제 #2
0
        private CirclePointRingLoading getDefaultLoading()
        {
            CirclePointRingLoading loading = new CirclePointRingLoading
            {
                Foreground = Foreground = (Brush)mBrush,
                Width      = 60,
                Height     = 60,
                IsActive   = true,
                IsLarge    = true
            };

            return(loading);
        }