Method GetPastedEventText
GetPastedEventText(string)
Override to provide the text for Pasted after OnPaste(string) has run.
protected virtual string? GetPastedEventText(string text)
Parameters
textstringThe sanitized text passed to OnPaste(string).
Returns
Remarks
The default returns the sanitized text passed into OnPaste(string). Views that rewrite or partially reject the paste during insertion can override this to report the segment of final view text that corresponds to the pasted range.