static MonthViewDefinition() { VisibleDaysProperty.OverrideMetadata(typeof(MonthViewDefinition), new PropertyMetadata(42)); TimeSlotLengthProperty.OverrideMetadata( typeof(MonthViewDefinition), new PropertyMetadata(TimeSpan.FromDays(1))); SmallChangeIntervalProperty.OverrideMetadata( typeof(MonthViewDefinition), new PropertyMetadata(DateTimeInterval.FromDays(7))); LargeChangeIntervalProperty.OverrideMetadata( typeof(MonthViewDefinition), new PropertyMetadata(DateTimeInterval.FromMonths(1))); }
static TimelineViewDefinition() { VisibleDaysProperty.OverrideMetadata(typeof(TimelineViewDefinition), new PropertyMetadata(7)); LargeChangeIntervalProperty.OverrideMetadata( typeof(TimelineViewDefinition), new PropertyMetadata(DateTimeInterval.FromDays(7))); SmallChangeIntervalProperty.OverrideMetadata( typeof(TimelineViewDefinition), new PropertyMetadata(DateTimeInterval.FromDays(1))); TimeSlotLengthProperty.OverrideMetadata( typeof(TimelineViewDefinition), new PropertyMetadata(TimeSpan.FromDays(1), OnTimeSlotLengthPropertyChanged)); }
static MultidayViewDefinition() { TimeSlotLengthProperty.OverrideMetadata( typeof(MultidayViewDefinition), new PropertyMetadata(TimeSpan.FromMinutes(30))); }