void OnClickBox(object s, ButtonPressEventArgs args) { // Avoid forwarding the button press event to the // tree, since it would hide the cell editor. args.RetVal = true; }