定义日志图标资源

This commit is contained in:
zengwenjie
2025-09-24 17:28:06 +08:00
parent c26fbcce22
commit 6bdb41e8b5
6 changed files with 136 additions and 17 deletions

View File

@@ -23,7 +23,7 @@ namespace Deedy.Activity
/// <summary>
/// 用于为Action提供显示视图
/// </summary>
[IconKey(ThemeKeys.KEY_Activity_DefaultIcon)]
[IconKey(ThemeKeys.Keys.Activity_DefaultIcon)]
[TemplatePart(Name = PART_ItemsContainer, Type = typeof(ItemsControl))]
[TemplatePart(Name = PART_TitleContainer, Type = typeof(FrameworkElement))]
[TemplatePart(Name = PART_StateDecorator, Type = typeof(ViewerStateDecorator))]
@@ -250,7 +250,6 @@ namespace Deedy.Activity
if (e.NewValue is LogInfo logInfo)
{
this.ToolTip = logInfo.ToString();
//TODO更新消息显示图标
this.LogInfos.Add(logInfo);
}
}