Gets or sets the size of schedule items drawn in the calendar.
Namespace: MindFusion.Scheduling
File: ItemSettings.js
JavaScript
![]() |
---|
get size() {} |
Number. The size in pixels.
The size of an Item is its height when the items are positioned horizontally or its width when positioned vertically.
The following code uses the itemSettings property of a calendar, which is of type ItemSettings to specify the height of the item elements.
JavaScript
![]() |
---|
// set the height of item visuals calendar.itemSettings.size = 22; |