This question is locked. New answers and comments are not allowed.
Hi everybody,
I want to know how to autosize my RadScheduleView's width to its component area without horizontal scrollbar.
This thing is automatically done with height but not with width.
Very strange... :-)
Thanks!
I want to know how to autosize my RadScheduleView's width to its component area without horizontal scrollbar.
This thing is automatically done with height but not with width.
Very strange... :-)
Thanks!
4 Answers, 1 is accepted
0
Hi,
I would suggest you use MinTimeRulerExtent and MaxTimeRulerExtent properties of the RadScheduleView. Setting a small value to the MaxTimeRulerExtent and a large one to the MaxTimeRulerExtent will do the trick for you.
All the best,
Ivo
the Telerik team
I would suggest you use MinTimeRulerExtent and MaxTimeRulerExtent properties of the RadScheduleView. Setting a small value to the MaxTimeRulerExtent and a large one to the MaxTimeRulerExtent will do the trick for you.
All the best,
Ivo
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Vonziz
Top achievements
Rank 1
answered on 30 Jan 2012, 10:16 AM
Hi Ivo!
With this code :
My scheduler is not perfectly autosized as you can see on the attached print screen.
Have you got an another trick?
With this code :
<
scheduleView:RadScheduleView
x:Name
=
"scheduleView"
Height
=
"600"
Width
=
"1075"
GroupHeaderContentTemplateSelector
=
"{StaticResource GroupHeaderContentTemplateSelector}"
SpecialSlotStyleSelector
=
"{StaticResource SpecialSlotStyleSelector}"
SpecialSlotsSource
=
"{Binding SpecialSlots}"
AppointmentsSource
=
"{Binding AppointmentListe}"
ResourceTypesSource
=
"{Binding SalleListe}"
ShowDialog
=
"RadScheduleView_ShowDialog"
VisibleRangeChangedCommand
=
"{Binding SchedulerRangeChanged}"
VisibleRangeChangedCommandParameter
=
"{Binding VisibleRange, RelativeSource={RelativeSource Self}}"
>
<
telerik:RadScheduleView.GroupDescriptionsSource
>
<
telerik:GroupDescriptionCollection
>
<
telerik:ResourceGroupDescription
ResourceType
=
"Rooms"
/>
</
telerik:GroupDescriptionCollection
>
</
telerik:RadScheduleView.GroupDescriptionsSource
>
<
scheduleView:RadScheduleView.ViewDefinitions
>
<
scheduleView:DayViewDefinition
x:Name
=
"dayView"
Orientation
=
"Horizontal"
TimerulerMajorTickStringFormat
=
"{}{0:%H}:{0:mm} "
GroupHeaderDateStringFormat
=
""
DayStartTime
=
"{Binding DayStartTime}"
DayEndTime
=
"{Binding DayEndTime}"
MinTimeRulerExtent
=
"1000"
MaxTimeRulerExtent
=
"10"
MinorTickLength
=
"{Binding TickLength}"
MajorTickLength
=
"{Binding TickLength}"
/>
My scheduler is not perfectly autosized as you can see on the attached print screen.
Have you got an another trick?
0
Accepted
Hi,
Try setting 10 to MinTimeRulerExtent and 10000 to MaxTimeRulerExtent.
Kind regards,
Ivo
the Telerik team
Try setting 10 to MinTimeRulerExtent and 10000 to MaxTimeRulerExtent.
Kind regards,
Ivo
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Vonziz
Top achievements
Rank 1
answered on 30 Jan 2012, 03:22 PM
Works perfectly!
Thanks a lot. :-)
Thanks a lot. :-)