Method InsertSelection
InsertSelection(string)
Called when the user confirms a selection at the current cursor location in
the HostControl. The accepted
string
is the full autocomplete word to be inserted. Typically a host will have to
remove some characters such that the accepted
string
completes the word instead of simply being appended.
protected virtual bool InsertSelection(string accepted)
Parameters
accepted
string
Returns
- bool
True if the insertion was possible otherwise false