public virtual bool OnDataTreeDelete(object cmd) { Command command = (Command) cmd; DeleteObject(command); return true; //we handled this. }