Gets or sets the style of the timeline.
Namespace: MindFusion.Scheduling.Silverlight
Assembly: MindFusion.Scheduling.Silverlight
C# Copy Code |
---|
public CalendarStyle CalendarStyle { get; set; } |
Visual Basic Copy Code |
---|
Public Property CalendarStyle As CalendarStyle |
An instance of the CalendarStyle class.
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 example changes the background brush of the bottom timeline. The example assumes that calendar is a variable referencing existing Calendar instance.
C# Copy Code |
---|
calendar.ResourceViewSettings.BottomTimelineSettings.CalendarStyle.Background = Brushes.LightSteelBlue; |
Visual Basic Copy Code |
---|
calendar.ResourceViewSettings.BottomTimelineSettings.CalendarStyle.Background = Brushes.LightSteelBlue |