MGChangeSearchMatch

Top  Previous  Next

This event is fired when a new matched text is highlighted in search mode.

[Visual Basic .NET]

Public Event MGChangeSearchMatch(ByVal s As Object, ByVal e As ChangeSearchMatchEventArgs)

[C#]

public event MGChangeSearchMatch(object s, ChangeSearchMatchEventArgs e);

Parameters

s

    Specifies the sender object.

 

e

    is the object of ChangeSearchMatchEventArgs Class with the following members:

1.CurrMatchIndex specifies the index of currently highlighted text, this member's value must be between 0 and the number of total matches minus 1.

2.GridIndex specifies the index of current active grid where searching occurs. -1 indicates the full grid; for a sub grid in cascade mode, this member's value must be between 0 and the return value of GetTotalSubGrids() minus 1.