mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
xx
This commit is contained in:
@@ -813,6 +813,42 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
return this._replaceAllCommand ?? (this._replaceAllCommand = new SimpleCommand(ExecuteEnable, this.ExecutedSearchReplaceAllCommand));
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _addNextCommand;
|
||||
public ICommand AddNextCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._addNextCommand ?? (this._addNextCommand = new SimpleCommand(ExecuteEnable, this.ExecutedAddNextCommand));
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _removeNextCommand;
|
||||
public ICommand RemoveNextCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._removeNextCommand ?? (this._removeNextCommand = new SimpleCommand(ExecuteEnable, this.ExecutedRemoveNextCommand));
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _addChildCommand;
|
||||
public ICommand AddChildCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._addChildCommand ?? (this._addChildCommand = new SimpleCommand(ExecuteEnable, this.ExecutedAddChildCommand));
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _removeChildCommand;
|
||||
public ICommand RemoveChildCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._removeChildCommand ?? (this._removeChildCommand = new SimpleCommand(ExecuteEnable, this.ExecutedRemoveChildCommand));
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ctor和初始化
|
||||
@@ -1520,6 +1556,30 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Block使用
|
||||
private void ExecutedAddNextCommand(object parameter)
|
||||
{
|
||||
if (parameter is Tuple<BlockDesignerItemViewModel, BlockDesignerItemViewModel> blockTuple)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void ExecutedRemoveNextCommand(object parameter)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void ExecutedAddChildCommand(object parameter)
|
||||
{
|
||||
|
||||
}
|
||||
private void ExecutedRemoveChildCommand(object parameter)
|
||||
{
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 布局
|
||||
private void ExecuteAlignTopCommand(object parameter)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user