Raised when an item is drawn.
Namespace: MindFusion.Scheduling
File: Calendar.js
SyntaxJavaScript
Copy Code
|
|---|
EventDispatcher itemDraw |
Event DataThe event handler method receives the following arguments:
sender
A Calendar instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
An ItemEventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.
ExampleThe following code shows how to handle the itemDraw event:
JavaScript
Copy Code
|
|---|
var p = MindFusion.Scheduling; // attach a handler - when a calendar item is drawn function handleItemDraw(sender, args) { |
See Also