在一列内同时存在1个或以上的控件
RepositoryItemButtonEdit btOperate = new RepositoryItemButtonEdit();
btOperate.AppearanceDisabled.Options.UseTextOptions = true;
btOperate.AppearanceDisabled.TextOptions.HAlignment = HorzAlignment.Center;
btOperate.AutoHeight = false;
btOperate.TextEditStyle = TextEditStyles.HideTextEditor;
btOperate.ButtonsStyle = BorderStyles.NoBorder;
btOperate.BorderStyle = BorderStyles.HotFlat;
btOperate.ReadOnly = true;
//添加按钮类型
EditorButton editorButton1 = new EditorButton();
btOperate.Buttons.Add(editorButton1);
EditorButton editorButton2 = new EditorButton();
btOperate.Buttons.Add(editorButton2);
btOperate.Buttons[0].ImageOptions.Image = Properties.Resources.add_32x32;
btOperate.Buttons[0].Kind = ButtonPredefines.Glyph;
btOperate.Buttons[0].ImageOptions.Location = ImageLocation.MiddleLeft;
btOperate.Buttons[0].Caption = "新增";
btOperate.Buttons[0].Visible = true;
btOperate.Buttons[1].ImageOptions.Image = Properties.Resources.cancel_32x32;
btOperate.Buttons[1].Kind = ButtonPredefines.Glyph;
btOperate.Buttons[1].ImageOptions.Location = ImageLocation.MiddleLeft;
btOperate.Buttons[1].Caption = "删除";
btOperate.Buttons[1].Visible = true;
btOperate.Buttons[2].ImageOptions.Image = Properties.Resources.save_32x32;
btOperate.Buttons[2].Kind = ButtonPredefines.Glyph;
btOperate.Buttons[2].ImageOptions.Location = ImageLocation.MiddleLeft;
btOperate.Buttons[2].Caption = "保存";
btOperate.Buttons[2].Visible = true;
//触发事件
btOperate.Buttons[0].Click += AddButton_Click;
btOperate.Buttons[1].Click += RemoveButton_Click;
btOperate.Buttons[2].Click += SaveButton_Click;
gridView1.Columns["操作"].ColumnEdit = btOperate;
通过 gridView1.FocusedRowHandle获取点击行号。