Добавлен проект UI

This commit is contained in:
2026-01-07 22:33:42 +03:00
parent b6de0543b7
commit ca5d912c9c
21 changed files with 1188 additions and 4 deletions

View File

@@ -11,12 +11,17 @@ public record ActionDefinition
public string Id { get; init; } = Guid.NewGuid().ToString();
/// <summary>
/// Текст кнопки.
/// Текст кнопки, отображаемый пользователю.
/// </summary>
public string Label { get; init; } = "Action";
/// <summary>
/// Группа контекста, к которой привязана кнопка (например, "CodeEditor").
/// Код иконки из шрифта Segoe Fluent Icons (например, "\uE102").
/// </summary>
public string IconKey { get; init; } = "\uE102";
/// <summary>
/// Группа контекста, к которой привязана кнопка (например, "CodeEditor", "Common").
/// </summary>
public string TargetContext { get; init; } = "Common";
@@ -26,7 +31,7 @@ public record ActionDefinition
public bool IsEnabled { get; set; } = true;
/// <summary>
/// Подсказка (Tooltip).
/// Подсказка, отображаемая при наведении (Tooltip).
/// </summary>
public string Tooltip { get; init; } = string.Empty;
}