EnableContextMenu Property

Returns or sets a Boolean value specifying whether or not to enable the control's context menu appears when the right mouse button is clicked.

Syntax

MediaPlayer.EnableContextMenu

Settings

The settings for this property are:

Setting Description
True (Default) Enables context menu pop-up.
False Disables context menu.

Remarks

The context menu appears when the end-user right-clicks anywhere on the control.

The context menu contains commands that would usually be available to the user as buttons (Play/Pause, Stop, Properties, and so on). If a user interface button is disabled, that function is also disabled on the context menu.

A right mouse click anywhere on the control brings up the context menu.

Note: You can set this property only at design time.

© 1996-1998 Microsoft Corporation. All rights reserved.