Table of Contents

Method ShouldRaisePastedEvent

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

ShouldRaisePastedEvent(string)

Override to suppress Pasted when OnPaste(string) consumes a paste without inserting the text.

protected virtual bool ShouldRaisePastedEvent(string text)

Parameters

text string

The sanitized text passed to OnPaste(string).

Returns

bool

true to raise Pasted; false when the paste was consumed without insertion.