Search
ItemSettings.size Property
See Also
 






Gets or sets the size of schedule items drawn in the calendar.

Namespace: MindFusion.Scheduling
File: ItemSettings.js

 Syntax

JavaScript  Copy Code

get size() {}

 Property Value

Number. The size in pixels.

 Remarks

The size of an Item is its height when the items are positioned horizontally or its width when positioned vertically.

 Example

The following code uses the itemSettings property of a calendar, which is of type ItemSettings to specify the height of the item elements.

JavaScript  Copy Code
// set the height of item visuals
calendar.itemSettings.size = 22;

 See Also