Class InsertionManager
InsertionManager is class used to insert and replace the text for the EditControl.
Inheritance
System.Object
InsertionManager
Namespace: Syncfusion.Windows.Edit
Assembly: Syncfusion.Edit.Wpf.dll
Syntax
public class InsertionManager : Object
Remarks
The InsertionManager class contains insertion and replace information of EditControl.
Constructors
InsertionManager()
Declaration
public InsertionManager()
Methods
InsertText(String, String, Int32)
Insert the new text into the existing text.
Declaration
public static string InsertText(string existingtext, string insertiontext, int index)
Parameters
Type | Name | Description |
---|---|---|
System.String | existingtext | Gets the Existing text from the reporting source |
System.String | insertiontext | Gets the new text from the reporting source |
System.Int32 | index | Gets the index position of the text to be insert |
Returns
Type | Description |
---|---|
System.String | Returns the result string which contains the new text |
ReplaceText(String, String, Int32)
Replace the existing text with new text in InsertionManager.
Declaration
public static string ReplaceText(string existingtext, string replacetext, int index)
Parameters
Type | Name | Description |
---|---|---|
System.String | existingtext | Gets the Existing text from the reporting source |
System.String | replacetext | Gets the text to be replace |
System.Int32 | index | Gets the index position of the text to be replace |
Returns
Type | Description |
---|---|
System.String | Returns the result string |