Initializes a new instance of an AutoReplaceEventArgs.

Namespace:  C1.Silverlight.SpellChecker
Assembly:  C1.Silverlight.SpellChecker (in C1.Silverlight.SpellChecker.dll)

Syntax

C#
public AutoReplaceEventArgs(
	Control control,
	string found,
	string replace,
	int index
)
Visual Basic
Public Sub New ( _
	control As Control, _
	found As String, _
	replace As String, _
	index As Integer _
)

Parameters

control
Type: System.Windows.Controls..::..Control
Control where the text is being replaced.
found
Type: System..::..String
String that contains the text about to be replaced.
replace
Type: System..::..String
String that contains the replacement text.
index
Type: System..::..Int32
Position of the found string in the control's text.

See Also