I have a RadTimeBar defined like this:
My viewmodel properties in this scenario are set to:
When the app loads, I basically get a blank RadTimeBar (see attached picture). If I add "<telerik:MonthInterval />" to the intervals collection it seems to work better... but alas... in my scenario I want to show only weeks as the items. If I adjust the zooming I can eventually get the headers to show up.
<
telerik:RadTimeBar
x:Name
=
"rtb"
Width
=
"800"
Height
=
"160"
IsSnapToIntervalEnabled
=
"True"
PeriodStart
=
"{Binding PeriodStart, Mode=TwoWay}"
PeriodEnd
=
"{Binding PeriodEnd, Mode=TwoWay}"
VisiblePeriodStart
=
"{Binding VisiblePeriodStart, Mode=TwoWay}"
VisiblePeriodEnd
=
"{Binding VisiblePeriodEnd, Mode=TwoWay}"
SelectionStart
=
"{Binding SelectionStart, Mode=TwoWay}"
SelectionEnd
=
"{Binding SelectionEnd, Mode=TwoWay}"
>
<
telerik:RadTimeBar.Intervals
>
<
telerik:WeekInterval
/>
</
telerik:RadTimeBar.Intervals
>
</
telerik:RadTimeBar
>
My viewmodel properties in this scenario are set to:
PeriodStart =
new
DateTime(2011, 1, 1, 0, 0, 0);
PeriodEnd =
new
DateTime(2012, 12, 31, 0, 0, 0);
VisiblePeriodStart = PeriodStart;
VisiblePeriodEnd = PeriodEnd;
SelectionStart =
new
DateTime(2011, 10, 9);
SelectionEnd =
new
DateTime(2011, 10, 15);
When the app loads, I basically get a blank RadTimeBar (see attached picture). If I add "<telerik:MonthInterval />" to the intervals collection it seems to work better... but alas... in my scenario I want to show only weeks as the items. If I adjust the zooming I can eventually get the headers to show up.