private static void IsActiveChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { CirclePointRingLoading loading = sender as CirclePointRingLoading; if (loading == null) { return; } loading.UpdateActiveState(); }
private CirclePointRingLoading getDefaultLoading() { CirclePointRingLoading loading = new CirclePointRingLoading { Foreground = Foreground = (Brush)mBrush, Width = 60, Height = 60, IsActive = true, IsLarge = true }; return(loading); }