WPF RadScheduleView TimeMarker comboBox text

2 Answers 78 Views
Designs, skins, themes
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Ohad asked on 13 Dec 2021, 10:24 AM

Hi,

I would love help on how to replace the TimeMarkers title with something else.

Thanks,

 

<telerik:RadComboBox x:Name="PART_TimeMarkers" AutomationProperties.AutomationId="PART_TimeMarkers"
                                                      Width="110" Margin="2 4" EmptyText="{Binding TimeMarkersEmptyText}" 
                                              IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}" 
                                              ItemsSource="{Binding TimeMarkers}" SelectedItem="{Binding Occurrence.Appointment.TimeMarker, Mode=TwoWay}" 
                                              ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Clear Selection"
                                              ItemTemplate="{StaticResource TimeMarkerComboBoxItemContentTemplate}" SelectionBoxTemplate="{StaticResource TimeMarkerComboBoxItemContentTemplate}" />

2 Answers, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 16 Dec 2021, 09:00 AM

Hi Ohad,

Thank you for the provided image and code snippet.

You can replace the TimeMarkers combobox or only change its title by modifying the EditAppointmentDialogStyle and editing the default Template of the dialog. I assume you've already got to this part based on the code snippet you provided in which you can replace the binding to the EmptyText property with the desired title.

If you need further assistance in applying this modification, please specify the theme(s) you're using as well as the type of binaries (Xaml or NoXaml) and I will gladly demonstrate this in a small sample project.

Regards,
Dilyan Traykov
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.

0
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
answered on 16 Dec 2021, 10:44 AM
Thank you!
Tags
Designs, skins, themes
Asked by
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Answers by
Dilyan Traykov
Telerik team
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Share this question
or