System.Windows.Forms.ToolStripTextBox.Cut Method

Moves the current selection in the System.Windows.Forms.ToolStripTextBox to the Clipboard.

Syntax

public void Cut ()

Remarks

This method will only cut text from the System.Windows.Forms.ToolStripTextBox if text is selected in the control. You can use this method, instead of using the System.Windows.Forms.Clipboard class, to copy text in the System.Windows.Forms.ToolStripTextBox and move it to the Clipboard.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0