One of the unique strengths in WebScheduler is its sophisticated management in the
Event Layout, which handles the layouting automatically without any user interventions
or additional coding. The event layout is based on MinimumEventHeight and TotalEventInCell
properties.
Each event in the cell will have MinimumEventHeight value as its minimum height.
When the total event in the cell exceed TotalEventInCell value, the row's height
will be adjusted automatically to accommodate the exceeding events.
In this topic, you will learn how to customize minimum event height and total event
displayed in cell.
To adjust event layout
- Right-click on WebScheduler control and choose Properties.
- Expand ViewSettings. Set SelectedTimelineViewMode
to Month and SelectedViewMode to Timeline.
- Expand TimelineView. Set MinimumEventHeight to
48 and TotalEventInCell to 3.
- Run the project.