.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

SearchFormShowingEventArgs.ControllerParameters Property

Gets the information for initializing the Find and Replace dialog controls.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v19.2.Core.dll

Declaration

public SearchFormControllerParameters ControllerParameters { get; }
Public ReadOnly Property ControllerParameters As SearchFormControllerParameters
public SearchFormControllerParameters ControllerParameters { get; }
Public ReadOnly Property ControllerParameters As SearchFormControllerParameters

Property Value

Type Description
DevExpress.XtraRichEdit.Forms.SearchFormControllerParameters

A DevExpress.XtraRichEdit.Forms.SearchFormControllerParameters object containing information to be displayed in the form.

Property Value

Type Description
DevExpress.XtraRichEdit.Forms.SearchFormControllerParameters

A DevExpress.XtraRichEdit.Forms.SearchFormControllerParameters object containing information to be displayed in the form.

Examples

This example demonstrates how to replace the standard Find and Replace dialog with a custom one via the RichEditControl.SearchFormShowing event.

private void richEditControl1_SearchFormShowing(object sender, SearchFormShowingEventArgs e)
{
    string curWord = richEditControl1.Document.GetText(richEditControl1.Document.Selection);
    MySearchTextForm form = new MySearchTextForm(e.ControllerParameters, curWord);
    e.DialogResult = form.ShowDialog();
    e.Handled = true;
}
See Also