Hi Anika,
You can achieve this by using GridFindReplaceDialogSink. Based on the user options create an instance for GridFindReplaceEventArgs and pass it to Find method of GridFindReplaceDialogSink object
For implementation, please refer to
this sample.Regards,
Saravanan