Hello,
I´m using a RadComboBox with grouping, like it works with the default ComboBox. So far so good, but the initial value is set to the first Item of the lcv. No difference when commenting out the binding for SelectedValue.
Without Grouping the initial value is null and the box is empty. Is there a way achive this behavior without adding an empty item to the collection? Because I want to use the ClearSelectionButton feature.
<
telerik:RadComboBox
ItemsSource
=
"{Binding ArtenLcv}"
SelectedValuePath
=
"Wert"
DisplayMemberPath
=
"Text"
SelectedValue
=
"{Binding ArtSelected}"
ClearSelectionButtonVisibility
=
"{Binding SelectedValue, RelativeSource={RelativeSource Self}, Converter={StaticResource objectVisibilityConverter}}"
ClearSelectionButtonContent
=
"Clear"
>
<
telerik:RadComboBox.GroupStyle
>
<
GroupStyle
>
<
GroupStyle.HeaderTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding Name}"
Margin
=
"2"
IsEnabled
=
"False"
/>
</
DataTemplate
>
</
GroupStyle.HeaderTemplate
>
</
GroupStyle
>
</
telerik:RadComboBox.GroupStyle
>
</
telerik:RadComboBox
>
Regards