Gets or sets the time length of a single cell in a timetable view, accurate to the nearest second.
Namespace: MindFusion.Scheduling.Silverlight
Assembly: MindFusion.Scheduling.Silverlight
C#
![]() |
---|
public TimeSpan CellTime { get; set; } |
Visual Basic
![]() |
---|
Public Property CellTime As TimeSpan |
A .NET TimeSpan object that specifies the time length of a single cell. The allowed values range from 1 second to 1 hour inclusive.
Unset the local value of this property to use the corresponding value from the current theme. To unset the property value, call ClearValue on the settings containing the property and pass a reference to the DependencyProperty representing the property.
The following sample demonstrates several ways for setting the time span of timetable cells. The sample assumes that calendar already references an existing Calendar object.
C#
![]() |
---|
// Set the cell time to 10 minutes |
Visual Basic
![]() |
---|
' Set the cell time to 10 minutes |