I want to add a style to the emptytext of the radcombobox that works across the entire application.
From what I can see I have to use http://docs.telerik.com/devtools/wpf/controls/radcombobox/howto/create-a-watermark but if I use
<
DataTemplate
x:Key
=
"EmptyTemplate"
>
<
TextBlock
FontWeight
=
"Bold"
FontFamily
=
"Comic Sans"
FontStyle
=
"Italic"
Text
=
"Please select an agency"
/>
</
DataTemplate
>
<
telerik:RadComboBox
Grid.Column
=
"3"
Grid.Row
=
"3"
SelectedItem
=
"{Binding Path=CreateVetPcrTestSignup.SelectedVetPcrTestKit}"
DisplayMemberPath
=
"Name"
IsEditable
=
"False"
EmptySelectionBoxTemplate
=
"{StaticResource EmptyTemplate}"
EmptyText
=
"{x:Static localization:SignupTexts.PcrKitDefaultValue}"
ItemsSource
=
"{Binding Path=PcrTestKits}"
/>
I want {x:Static localization:SignupTexts.PcrKitDefaultValue} to be used here, but I of course get "Please select an agency", I tried removing the name from the template, but then its just empty. Is there a way to parse the empty text into the template or use a styling somehow that only affects the emptytext?