Defines properties that allow customizing the visualization of the calendar in Resource view.
Namespace: MindFusion.Scheduling.Silverlight
Assembly: MindFusion.Scheduling.Silverlight
C# Copy Code |
---|
public sealed class ResourceViewSettings : CalendarSettings |
Visual Basic Copy Code |
---|
Public NotInheritable Class ResourceViewSettings |
An instance of this class can be accessed through the ResourceViewSettings property of the Calendar class.
The settings for the timelines displayed in the Resource view are exposed through the BottomTimelineSettings, MiddleTimelineSettings and TopTimelineSettings properties. The BottomTimelineSettings are important because the resolution of the bottom timeline also determines the resolution of the view. For example, if the cells of the bottom timeline display one week intervals, the cells of the view display one week intervals as well.
The resource view supports two modes - general and lanes, according to the value of the ViewStyle property. In general mode, the size of the rows, corresponding to the individual resources displayed in the view, is fixed (as specified by VisibleRows). The colliding items are resized to fit within the available space. In lanes mode, the size of the resource rows is dynamic. When two or more items collide, each item is distributed in its own lane. The more items colliding, the more lanes are added to the resource row. The size of each individual lane is specified through the LaneSize property.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
MindFusion.Scheduling.Silverlight.CalendarSettings
MindFusion.Scheduling.Silverlight.ResourceViewSettings