ToolStripTextBox::Cut Method ()

 

Moves the current selection in the ToolStripTextBox to the Clipboard.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
void Cut()

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

.NET Framework
Available since 2.0
Return to top
Show: