Namespace: DayPilot.Web.Mvc
Assembly: DayPilot.Web.Mvc (in DayPilot.Web.Mvc.dll) Version: 8.0.5796.0 (8.0.5796.0)

Syntax

C#
public static MvcHtmlString DayPilotMenu(
	this HtmlHelper helper,
	string id,
	DayPilotMenuConfig cfg
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function DayPilotMenu ( _
	helper As HtmlHelper, _
	id As String, _
	cfg As DayPilotMenuConfig _
) As MvcHtmlString
Visual C++
public:
[ExtensionAttribute]
static MvcHtmlString^ DayPilotMenu(
	HtmlHelper^ helper, 
	String^ id, 
	DayPilotMenuConfig^ cfg
)

Parameters

helper
Type: HtmlHelper
id
Type: System..::..String
cfg
Type: DayPilot.Web.Mvc..::..DayPilotMenuConfig

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HtmlHelper. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also