Share via


ContextMenuEnabled Property

ContextMenuEnabled Property

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 ContextMenuEnabled property specifies whether or not the folder context menu is enabled. The default value is True.

Applies To

ExchangeTreeViewControl Class

Syntax

Visual Basic .NET

Property ContextMenuEnabled As Boolean

C#

bool ContextMenuEnabled

Remarks

If the value is set to True, then the folder context menu will appear when a user right-clicks a folder node in the TreeView control. This is the default value.

If the value is set to False, then the folder context menu will not appear when a user right-clicks a folder node in the TreeView control.

Examples

Visual Basic .NET

In the following example, the ContextMenuEnabled property is set to False, disabling the folder context menu.

myTreeViewControl.ContextMenuEnabled = False

C#

In the following example, the ContextMenuEnabled property is set to False, disabling the folder context menu.

myTreeViewControl.ContextMenuEnabled = False

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.