Share via


Windows Media Player 11 SDK AxWindowsMediaPlayer.enableContextMenu (VB and C#) 

Windows Media Player SDK banner art

Previous Next

AxWindowsMediaPlayer.enableContextMenu (VB and C#)

The enableContextMenu property gets or sets a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.

[Visual Basic]
Public Overridable Property enableContextMenu As Boolean

[C#]
public virtual bool enableContextMenu {get; set;}

Property Value

A System.Boolean value that indicates whether to enable the context menu. The default value is true.

Remarks

During full-screen playback, Windows Media Player hides the mouse cursor when enableContextMenu equals false and uiMode equals "none".

Requirements

Version: Windows Media Player 9 Series or later

Namespace: AxWMPLib

Assembly: AxInterop.WMPLib.dll (automatically generated by Visual Studio)

See Also

Previous Next