Menu item command.

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 string Command { get; set; }
Visual Basic
Public Property Command As String
	Get
	Set
Visual C++
public:
property String^ Command {
	String^ get ();
	void set (String^ value);
}

Remarks

When MenuItem.Action is set to MenuItemAction.CallBack or MenuItemAction.PostBack the command is passed to DayPilotCalendar.EventMenuClick event.
When MenuItem.Action is set to MenuItemAction.JavaScript it is passed to the JavaScript event handler.

The typical commands will be "Delete" or "Open".

See Also