public void Execute() { if (IsValid(Owner)) { DataRoot.PostCommand(this); } if (IsInsertCommand) { var model = Owner as LineModel; model.AutoExpandLeft = true; model.ChildDelta -= 2; } }