csharpdeeb25a2 | 1 | using Avalonia; |
| 2 | using Avalonia.Controls; |
| 3 | |
| 4 | namespace CascadeIDE.Views.UiKit; |
| 5 | |
| 6 | /// <summary>Компактный статус (loading, hint) — IDE chrome.</summary> |
| 7 | public partial class CascadeStatusChip : UserControl |
| 8 | { |
| 9 | public static readonly StyledProperty<string?> TextProperty = |
| 10 | AvaloniaProperty.Register<CascadeStatusChip, string?>(nameof(Text)); |
| 11 | |
| 12 | public string? Text |
| 13 | { |
| 14 | get => GetValue(TextProperty); |
| 15 | set => SetValue(TextProperty, value); |
| 16 | } |
| 17 | |
| 18 | public CascadeStatusChip() => InitializeComponent(); |
| 19 | } |
| 20 | |
View only · write via MCP/CIDE