Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Xamarin.Forms.Skeleton/Skeleton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ public static class Skeleton

public static bool GetHide(BindableObject b) => (bool)b.GetValue(HideProperty);

public static readonly BindableProperty BackgroundColorProperty = BindableProperty.CreateAttached("BackgroundColor", typeof(Color), typeof(View), default(Color));
public static readonly BindableProperty BackgroundColorProperty = BindableProperty.CreateAttached("BackgroundColor", typeof(Color), typeof(View), default(Color), propertyChanged: (b, oldValue, newValue) => OnIsBusyChanged(b, GetIsBusy(b)));

public static void SetBackgroundColor(BindableObject b, Color value) => b.SetValue(BackgroundColorProperty, value);

public static Color GetBackgroundColor(BindableObject b) => (Color)b.GetValue(BackgroundColorProperty);

public static readonly BindableProperty AnimationProperty = BindableProperty.CreateAttached("Animation", typeof(BaseAnimation), typeof(View), null);
public static readonly BindableProperty AnimationProperty = BindableProperty.CreateAttached("Animation", typeof(BaseAnimation), typeof(View), null, propertyChanged: (b, oldValue, newValue) => OnIsBusyChanged(b, GetIsBusy(b)));

public static void SetAnimation(BindableObject b, BaseAnimation value) => b.SetValue(AnimationProperty, value);

Expand Down Expand Up @@ -287,4 +287,4 @@ private static void CancelAnimation(View view)

#endregion Operations
}
}
}