Skip to main content

ContextMenuBuilder(OptionsOwnerContext) Constructor

For internal use only. Initializes a new ContextMenuBuilder class instance.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ContextMenuBuilder(
    OptionsOwnerContext context
)

Parameters

Name Type Description
context OptionsOwnerContext

For internal use only.

Remarks

Do not use this constructor explicitly. To create a new ContextMenu control, use the ContextMenu helper method:

@(Html.DevExtreme().ContextMenu() // create a ContextMenu
    // call methods to specify control options
)
See Also