新增骨架屏控件

This commit is contained in:
Coolkeke
2023-12-27 00:30:42 +08:00
parent 1d6f3b10ce
commit 30a303f524
17 changed files with 209 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
using Avalonia;
using Avalonia.Controls;
using System;
using System.Collections.Generic;
using System.Text;
namespace Ursa.Controls
{
public class Skeleton : ContentControl
{
public static readonly StyledProperty<bool> IsActiveProperty =
AvaloniaProperty.Register<Skeleton, bool>(nameof(IsActive));
public bool IsActive
{
get { return GetValue(IsActiveProperty); }
set { SetValue(IsActiveProperty, value); }
}
}
}