MindFusion.Wpf Pack Programmer's Guide
TimelineSettings.CalendarStyle Property
See Also
 





Gets or sets the style of the timeline.

Namespace: MindFusion.Scheduling.Wpf
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public CalendarStyle CalendarStyle { get; set; }

Visual Basic  Copy Code

Public Property CalendarStyle As CalendarStyle

 Property Value

An instance of the CalendarStyle class.

Unsetting the Property Value

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.

 Example

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

 See Also

TimelineSettings Members
TimelineSettings Class
MindFusion.Scheduling.Wpf Namespace