ContextMenuStrip

Adds supports for [System.Windows.Forms.ContextMenuStrip](https://msdn.microsoft.com/es-es/library/system.windows.forms.contextmenustrip(v=vs.110).aspx).

Implementation Details:

Component Selector: 'wm-contextmenustrip'

Kendo UI Component: Kendo PopUp Kendo UI Component: Kendo Menu

Class inheritance

ContextMenuStrip extends ControlComponent.

PME Support

Properties

Property

Get

Set

Notify Changes

Details

Name: string

Yes

No

No

Inherited from ControlComponent see ControlComponent

Enabled: boolean

Yes

Yes

No

Inherited from ControlComponent see ControlComponent

Visible: boolean

Yes

Yes

No

Inherited from ControlComponent see ControlComponent

url: string

Yes

No

No

Url to the remote service which return the menu items

show: boolean

No

No

No

Used to close or open the contextmenu

offset: any

No

No

No

Used to position the contextmenu in the clicked point

items: any[]

No

No

No

Array of data of the contextmenu

currentItem: any

No

No

No

When any item was clicked is set as the current item

Methods

Method

Supported

Details

for (component: any)

Yes

Used as an input for another component to attach the contextmenu

onContextMenu(e: EventData)

Yes

Method that set values of the contextmenu to show it on each right click

unsubscribe()

Yes

Used to reset subscription of the component

Events

Event

Supported

Parameter

Details

menuItemSelected

Yes

$event: any

Triggers Click Event.

Last updated