4 Answers, 1 is accepted
0
Hello Philippe,
In order to change the appointment margin you need to modify the margin of the horizontal appointment item. This can be done with a simple style. For example:
I hope this helps
Greetings,
Maria
the Telerik team
In order to change the appointment margin you need to modify the margin of the horizontal appointment item. This can be done with a simple style. For example:
<
telerik:OrientedAppointmentItemStyleSelectorx:Key
=
"MyAppointmentStyle"
>
<
telerik:OrientedAppointmentItemStyleSelector.HorizontalStyle
>
<
StyleTargetType
=
"telerik:AppointmentItem"
>
<
SetterProperty
=
"Margin"
Value
=
"3 0 3 0"
/>
</
Style
>
</
telerik:OrientedAppointmentItemStyleSelector.HorizontalStyle
>
</
telerik:OrientedAppointmentItemStyleSelector
>
I hope this helps
Greetings,
Maria
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Philippe
Top achievements
Rank 1
answered on 04 Dec 2012, 01:56 PM
Hi,
The sample you gave me doesn't fit my needs...
I use a day definition, and if I specify a margin in telerik:OrientedAppointmentItemStyleSelector.VerticalStyle, I can reduce the apointment width but I can't increase it to suppress the outer margin.
You can see this margin on the attached file.
Do you see my problem?
The sample you gave me doesn't fit my needs...
I use a day definition, and if I specify a margin in telerik:OrientedAppointmentItemStyleSelector.VerticalStyle, I can reduce the apointment width but I can't increase it to suppress the outer margin.
You can see this margin on the attached file.
Do you see my problem?
0
Accepted
Hi Philippe,
To remove the white space from the picture, you should set GroupHeaderStyleSelector to your RadScheduleView, and particular you need to modify the padding from HorizontalTodayGroupHeaderStyle. You can check here for more information about this.
If you still experience difficulties, isolate the issue in a runnable sample and I will help you with customization.
Regards,
Maria
the Telerik team
To remove the white space from the picture, you should set GroupHeaderStyleSelector to your RadScheduleView, and particular you need to modify the padding from HorizontalTodayGroupHeaderStyle. You can check here for more information about this.
If you still experience difficulties, isolate the issue in a runnable sample and I will help you with customization.
Regards,
Maria
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Philippe
Top achievements
Rank 1
answered on 10 Dec 2012, 03:37 PM
I was using a Blend generated template, and updating the HorizontalTodayGroupHeaderStyle was inoperant.
With the original template (in the 'Themes.implicit' directory), it's all right.
Thanks
With the original template (in the 'Themes.implicit' directory), it's all right.
Thanks