csharpdeeb25a2 | 1 | using Avalonia; |
| 2 | using Avalonia.Controls; |
| 3 | |
| 4 | namespace CascadeIDE.Views.UiKit; |
| 5 | |
| 6 | public partial class EcamMetricCard : UserControl |
| 7 | { |
| 8 | public static readonly StyledProperty<string?> TitleProperty = |
| 9 | AvaloniaProperty.Register<EcamMetricCard, string?>(nameof(Title)); |
| 10 | |
| 11 | public string? Title |
| 12 | { |
| 13 | get => GetValue(TitleProperty); |
| 14 | set => SetValue(TitleProperty, value); |
| 15 | } |
| 16 | |
| 17 | public EcamMetricCard() |
| 18 | { |
| 19 | InitializeComponent(); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | |
View only · write via MCP/CIDE