mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
mind
This commit is contained in:
@@ -935,6 +935,24 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
return this._redoCommand ?? (this._redoCommand = new SimpleCommand(Redo_Enabled, this.ExecutedRedoCommand));
|
||||
}
|
||||
}
|
||||
|
||||
private SimpleCommand _initLayoutCommand;
|
||||
public SimpleCommand InitLayoutCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._initLayoutCommand ?? (this._initLayoutCommand = new SimpleCommand(ExecuteEnable, this.ExecutedInitLayoutCommand));
|
||||
}
|
||||
}
|
||||
|
||||
private SimpleCommand _resetLayoutCommand;
|
||||
public SimpleCommand ResetLayoutCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._resetLayoutCommand ?? (this._resetLayoutCommand = new SimpleCommand(ExecuteEnable, this.ExecutedResetLayoutCommand));
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
public DoCommandManager DoCommandManager = new DoCommandManager();
|
||||
@@ -1037,6 +1055,16 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
|
||||
#endregion
|
||||
|
||||
protected virtual void ExecutedInitLayoutCommand(object obj)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
protected virtual void ExecutedResetLayoutCommand(object obj)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
private void Items_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
|
||||
{
|
||||
if (e.OldItems != null)
|
||||
|
||||
Reference in New Issue
Block a user