How to make custom appointment style selector styles based on windows11 theme

1 Answer 17 Views
ScheduleView
Oleksandr
Top achievements
Rank 1
Oleksandr asked on 11 Jan 2024, 04:01 PM
<utils:AppointmentStyleSelector x:Key="AppointmentStyleSelector">
    <utils:AppointmentStyleSelector.ArrivedAppointmentStyle>
        <Style TargetType="telerik:AppointmentItem">
            <Setter Property="Background" Value="Green"/>
        </Style>
    </utils:AppointmentStyleSelector.ArrivedAppointmentStyle>
    <utils:AppointmentStyleSelector.IndicatorAppointmentStyle>
        <Style TargetType="telerik:AppointmentItem">
            <Setter Property="Background" Value="Red"/>
        </Style>
    </utils:AppointmentStyleSelector.IndicatorAppointmentStyle>
</utils:AppointmentStyleSelector>

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 15 Jan 2024, 04:52 PM

Hello Oleksandr,

The following article tells how to extract the original AppointmentStyleSelector. Basically, you can copy it from the Telerik.Windows.Controls.ScheduleView.xaml file for the Windows 11 theme, and modify whatever you need. 

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ScheduleView
Asked by
Oleksandr
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or