C# Class ICSharpCode.TextEditor.TextAreaClipboardHandler

Afficher le fichier Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Méthodes publiques

Свойство Type Description
GetClipboardContainsText ClipboardContainsTextDelegate

Méthodes publiques

Méthode Description
Copy ( object sender, EventArgs e ) : void
Cut ( object sender, EventArgs e ) : void
Delete ( object sender, EventArgs e ) : void
Paste ( object sender, EventArgs e ) : void
SelectAll ( object sender, EventArgs e ) : void
TextAreaClipboardHandler ( TextArea textArea ) : System

Méthodes protégées

Méthode Description
OnCopyText ( CopyTextEventArgs e ) : void

Private Methods

Méthode Description
CopyTextToClipboard ( string stringToCopy ) : bool
CopyTextToClipboard ( string stringToCopy, bool asLine ) : bool
DocumentSelectionChanged ( object sender, EventArgs e ) : void
SafeSetClipboard ( object dataObject ) : void

Method Details

Copy() public méthode

public Copy ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Cut() public méthode

public Cut ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Delete() public méthode

public Delete ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnCopyText() protected méthode

protected OnCopyText ( CopyTextEventArgs e ) : void
e CopyTextEventArgs
Résultat void

Paste() public méthode

public Paste ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

SelectAll() public méthode

public SelectAll ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

TextAreaClipboardHandler() public méthode

public TextAreaClipboardHandler ( TextArea textArea ) : System
textArea TextArea
Résultat System

Property Details

GetClipboardContainsText public_oe static_oe property

Is called when CachedClipboardContainsText should be updated. If this property is null (the default value), the text editor uses System.Windows.Forms.Clipboard.ContainsText.
This property is useful if you want to prevent the default Clipboard.ContainsText behaviour that waits for the clipboard to be available - the clipboard might never become available if it is owned by a process that is paused by the debugger.
public static ClipboardContainsTextDelegate GetClipboardContainsText
Résultat ClipboardContainsTextDelegate