Добавлен проект UI
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user