private string getCommand() { BSkyCanvas cs=CanvasHost.Child as BSkyCanvas; return cs.CommandString; }