更新图数据库相关数据

This commit is contained in:
2025-09-12 18:34:33 +08:00
parent e773052a85
commit 0cb6dd50e0
2054 changed files with 24813 additions and 239 deletions

View File

@@ -67,6 +67,7 @@ namespace Ramitta
case ColumnType.Button:
elementFactory = new FrameworkElementFactory(typeof(Button));
SetBindingToProperty(elementFactory, Button.ContentProperty, $"[{columnName}].Content");
SetBindingToProperty(elementFactory, Button.CommandProperty, $"[{columnName}].Command");
break;
case ColumnType.CheckBox:
elementFactory = new FrameworkElementFactory(typeof(CheckBox));
@@ -138,7 +139,7 @@ namespace Ramitta
return Rows.Count();
}
public void DeleteRow(Dictionary<string, object> row)
public void RemoveRow(Dictionary<string, object> row)
{
// 从 Rows 集合中移除指定的行
if (Rows.Contains(row))