I want to be able to toggle between the different orientations of the schedule view. I have a property bound to my view model but this doesn't seem to be working. I have tried different variations. Can someone tell me what i may be missing?
<
p
><
telerik:TimelineViewDefinition
VisibleDays
=
"30"
<br> x:Name="TimelineViewDefinition"<
br
> MajorTickLength="1d" <
br
> Orientation="{Binding DataContext.ScheduleViewOrientation, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=telerik:RadScheduleView}, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"</
p
><
p
> StretchAppointments="True"<
br
> MinorTickLength="1d" <
br
> GroupHeaderDateStringFormat="MM-dd"<
br
> StretchGroupHeaders="False" ></
p
>