ClipboardOperationArgs

Provides data for the ClipboardOperation event.

Namespace: SGBControls.Editors
Assembly: SGBControls

Syntax
public class ClipboardOperationArgs : EventArgs

Parameters
Parameter Name Type Description
Operation SGBControls.Editors.ClipboardOperationType Enumeration used to describe which clipboard operation has been carried out


Remarks
The ClipboardOperationArgs is used to pass data to the ClipboardOperation event of the SGBTextBox. It specifies the operation that has been carried out on the SGBTextBox via the operation parameter which is an enumeration of type ClipboardOperationType

Examples
C#
// Show a message box when a clipboard operation is carried out in the SGBTextBox
void TextBoxControl_ClipboardOperation(object sender, EditorEvents.ClipboardOperationHandler e)
{
         MessageBox.show(e.Operation.ToString());
}

VB.net
'Show a message box when a clipboard operation is carried out in the SGBTextBox
Private Sub TextBoxControl_ClipboardOperation(ByVal sender As Object, ByVal e As EditorEvents.ClipboardOperationHandler) 
    MessageBox.show(e.Operation.ToString()) 
End Sub 

Issues
None

Last edited Mar 30, 2010 at 2:27 PM by scottgblood, version 2

Comments

No comments yet.