diff --git a/demo/Ursa.Demo/Pages/SkeletonDemo.axaml b/demo/Ursa.Demo/Pages/SkeletonDemo.axaml
index 13198c0..2f1ce91 100644
--- a/demo/Ursa.Demo/Pages/SkeletonDemo.axaml
+++ b/demo/Ursa.Demo/Pages/SkeletonDemo.axaml
@@ -25,7 +25,7 @@
VerticalAlignment="Center"
CornerRadius="2"
IsActive="{Binding #active.IsChecked}"
- Loading="{Binding #loading.IsChecked}">
+ IsLoading="{Binding #loading.IsChecked}">
-
+ IsLoading="{Binding #loading.IsChecked}">
+
-
+ IsLoading="{Binding #loading.IsChecked}">
+
-
+ IsLoading="{Binding #loading.IsChecked}">
+
diff --git a/demo/Ursa.Demo/ViewModels/MainViewViewModel.cs b/demo/Ursa.Demo/ViewModels/MainViewViewModel.cs
index 24d8d6e..8cc13e6 100644
--- a/demo/Ursa.Demo/ViewModels/MainViewViewModel.cs
+++ b/demo/Ursa.Demo/ViewModels/MainViewViewModel.cs
@@ -51,7 +51,6 @@ public class MainViewViewModel : ViewModelBase
MenuKeys.MenuKeySkeleton => new SkeletonDemoViewModel(),
MenuKeys.MenuKeyTagInput => new TagInputDemoViewModel(),
MenuKeys.MenuKeyTimeline => new TimelineDemoViewModel(),
- MenuKeys.MenuKeySkeleton => new SkeletonDemoViewModel(),
MenuKeys.MenuKeyTwoTonePathIcon => new TwoTonePathIconDemoViewModel(),
MenuKeys.MenuKeyThemeToggler => new ThemeTogglerDemoViewModel(),
MenuKeys.MenuKeyToolBar => new ToolBarDemoViewModel(),
diff --git a/demo/Ursa.Demo/ViewModels/MenuViewModel.cs b/demo/Ursa.Demo/ViewModels/MenuViewModel.cs
index d50fa6f..f3fd2e7 100644
--- a/demo/Ursa.Demo/ViewModels/MenuViewModel.cs
+++ b/demo/Ursa.Demo/ViewModels/MenuViewModel.cs
@@ -35,7 +35,7 @@ public class MenuViewModel: ViewModelBase
new() { MenuHeader = "Pagination", Key = MenuKeys.MenuKeyPagination },
new() { MenuHeader = "RangeSlider", Key = MenuKeys.MenuKeyRangeSlider },
new() { MenuHeader = "Selection List", Key = MenuKeys.MenuKeySelectionList, Status = "New" },
- new() { MenuHeader = "Skeleton", Key = MenuKeys.MenuKeySkeleton },
+ new() { MenuHeader = "Skeleton", Key = MenuKeys.MenuKeySkeleton, Status = "New" },
new() { MenuHeader = "TagInput", Key = MenuKeys.MenuKeyTagInput },
new() { MenuHeader = "Theme Toggler", Key = MenuKeys.MenuKeyThemeToggler, Status = "New" },
new() { MenuHeader = "Timeline", Key = MenuKeys.MenuKeyTimeline, Status = "WIP" },
diff --git a/src/Ursa.Themes.Semi/Controls/Skeleton.axaml b/src/Ursa.Themes.Semi/Controls/Skeleton.axaml
index c7fe93b..47d273b 100644
--- a/src/Ursa.Themes.Semi/Controls/Skeleton.axaml
+++ b/src/Ursa.Themes.Semi/Controls/Skeleton.axaml
@@ -25,33 +25,17 @@
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}" />
+
+
-
-
-
-
diff --git a/src/Ursa.Themes.Semi/Styles/Skeleton.axaml b/src/Ursa.Themes.Semi/Styles/Skeleton.axaml
new file mode 100644
index 0000000..4ee776d
--- /dev/null
+++ b/src/Ursa.Themes.Semi/Styles/Skeleton.axaml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Ursa.Themes.Semi/Styles/_index.axaml b/src/Ursa.Themes.Semi/Styles/_index.axaml
index 5f40b0f..e3cc666 100644
--- a/src/Ursa.Themes.Semi/Styles/_index.axaml
+++ b/src/Ursa.Themes.Semi/Styles/_index.axaml
@@ -5,6 +5,7 @@
+
diff --git a/src/Ursa/Controls/Skeleton.cs b/src/Ursa/Controls/Skeleton.cs
index 6d9197f..78ede92 100644
--- a/src/Ursa/Controls/Skeleton.cs
+++ b/src/Ursa/Controls/Skeleton.cs
@@ -17,13 +17,13 @@ namespace Ursa.Controls
set { SetValue(IsActiveProperty, value); }
}
- public static readonly StyledProperty LoadingProperty =
- AvaloniaProperty.Register(nameof(Loading));
+ public static readonly StyledProperty IsLoadingProperty =
+ AvaloniaProperty.Register(nameof(IsLoading));
- public bool Loading
+ public bool IsLoading
{
- get => GetValue(LoadingProperty);
- set => SetValue(LoadingProperty, value);
+ get => GetValue(IsLoadingProperty);
+ set => SetValue(IsLoadingProperty, value);
}
}
}