Syncfusion.Grid.Windows


The text to be searched.
The replace text.
The row index.
The column index.
Search criteria.
True if current cell should be moved after text was found.

ReplaceText Method (GridCellRendererBase)

Searches the specified text and optionally moves the current cell to the cell if the text was found.
Syntax
'Declaration
 
Public Overridable Function ReplaceText( _
   ByVal find As String, _
   ByVal replace As String, _
   ByVal rowIndex As Integer, _
   ByVal colIndex As Integer, _
   ByVal options As GridFindTextOptions, _
   ByVal bSetCell As Boolean _
) As Boolean
'Usage
 
Dim instance As GridCellRendererBase
Dim find As String
Dim replace As String
Dim rowIndex As Integer
Dim colIndex As Integer
Dim options As GridFindTextOptions
Dim bSetCell As Boolean
Dim value As Boolean
 
value = instance.ReplaceText(find, replace, rowIndex, colIndex, options, bSetCell)

Parameters

find
The text to be searched.
replace
The replace text.
rowIndex
The row index.
colIndex
The column index.
options
Search criteria.
bSetCell
True if current cell should be moved after text was found.

Return Value

True if text was found; False otherwise.
AssemblyVersion

Syncfusion.Grid.Windows: 18.2460.0.44

See Also