更新图数据库相关数据
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user