SetContextDragMenuText Method
SetContextDragMenuText Method
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. The SetContextDragMenuText method is used to change the text of the Move, Copy, and Cancel options in the drag-drop context menu.
Applies To
Syntax
Visual Basic .NET
Sub SetContextDragMenuText ( ByVal contextMove As String, ByVal contextCopy As String, ByVal contextCancel As String )
C#
void SetContextDragMenuText ( string contextMove, string contextCopy, string contextCancel );
Parameters
Parameter | Description |
---|---|
contextMove | The value to which the text of the Move option will be changed. |
contextCopy | The value to which the text of the Copy option will be changed. |
contextCancel | The value to which the text of the Cancel option will be changed. |
Return Value
Returns VOID.
Remarks
The default text value for the Move option of the folder context menu is "Move".
The default text value for the Copy option of the folder context menu is "Copy".
The default text value for the Cancel option of the folder context menu is "Cancel".
Examples
Visual Basic .NET
In the following example, the text of the Move option of the context menu is changed to "Move Folder" and the text of the Copy option of the context menu is changed to "Copy Folder". The default value for the Cancel option does not change.
myTreeViewControl.SetContextDragMenuText("Move Folder", _ "Copy Folder", _ "Cancel")
C#
In the following example, the text of the Move option of the context menu is changed to "Move Folder" and the text of the Copy option of the context menu is changed to "Copy Folder". The default value for the Cancel option does not change.
myTreeViewControl.SetContextDragMenuText("Move Folder", "Copy Folder", "Cancel");
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.