You can hide the buttons with code like this.
GridFindReplaceDialogSink findReplaceDialogSink;
public GridFindReplaceDialogSink GridFindReplaceDialogSink
{
get
{
if (findReplaceDialogSink == null)
{
findReplaceDialogSink = new GridFindReplaceDialogSink(gridDataBoundGrid1);
foreach(Control c in GridFindReplaceDialog.Instance.Controls)
{
if(c.Text.IndexOf("place") > -1)
{
c.Visible = false;
}
}
}
return findReplaceDialogSink;
}
}
private void menuItem1_Click(object sender, System.EventArgs e)
{
GridFindReplaceDialog frDialog = GridFindReplaceDialog.Instance;
frDialog.SetState(GridFindReplaceDialogSink, "", false);
frDialog.Text="Find";
frDialog.Show();
}