diff --git a/demo/Ursa.Demo/Pages/SkeletonDemo.axaml b/demo/Ursa.Demo/Pages/SkeletonDemo.axaml index 25f8b79..13198c0 100644 --- a/demo/Ursa.Demo/Pages/SkeletonDemo.axaml +++ b/demo/Ursa.Demo/Pages/SkeletonDemo.axaml @@ -13,18 +13,19 @@ - - - - - - + + + + IsActive="{Binding #active.IsChecked}" + Loading="{Binding #loading.IsChecked}"> + IsActive="{Binding #active.IsChecked}" + Loading="{Binding #loading.IsChecked}"> + IsActive="{Binding #active.IsChecked}" + Loading="{Binding #loading.IsChecked}"> + IsActive="{Binding #active.IsChecked}" + Loading="{Binding #loading.IsChecked}"> diff --git a/src/Ursa.Themes.Semi/Controls/Skeleton.axaml b/src/Ursa.Themes.Semi/Controls/Skeleton.axaml index 2f78068..c7fe93b 100644 --- a/src/Ursa.Themes.Semi/Controls/Skeleton.axaml +++ b/src/Ursa.Themes.Semi/Controls/Skeleton.axaml @@ -26,22 +26,27 @@ ContentTemplate="{TemplateBinding ContentTemplate}" /> + Classes.Active="{Binding Path= IsActive, RelativeSource={RelativeSource TemplatedParent}}" + IsHitTestVisible="{TemplateBinding Loading}" + IsVisible="{TemplateBinding Loading}" + > +