Currently, the drop down of RadComboBox contains only the RadComboBoxItems and the Clear Selection button. Add new content presenter that allows you to include extra visuals, like buttons or text.
The feature is similar to the AdditionalContent of RadTabControl.
The exception message is the following: System.ArgumentException: 'The value '102' is not a valid value for the enum 'FilterOperator'.'
To work this around, avoid using mixed typed values in the ItemsSource.
Setting the Background property of RadComboBox no longer changes the background color of the control.
To work this around, you can add a global event handler for the Loaded event of RadComboBox and set the corresponding backgrounds in code.
static MainWindow()
{
EventManager.RegisterClassHandler(typeof(RadComboBox), RadComboBox.LoadedEvent, new RoutedEventHandler(OnComboBoxLoaded));
}
private static void OnComboBoxLoaded(object sender, RoutedEventArgs e)
{
var comboBox = (RadComboBox)sender;
if (!comboBox.IsEditable)
{
if (comboBox.IsEnabled)
{
var buttonChrome = comboBox.FindChildByType<ButtonChrome>();
buttonChrome.Background = Brushes.Purple;
}
else
{
comboBox.Background = Brushes.Purple;
}
}
}
The RadListBox has an attached property for mvvm binding of SelectedItems - https://docs.telerik.com/devtools/wpf/controls/radlistbox/features/selecteditemssource.
Please support SelectedItemsSource for RadComboxBox too.
If you set IsEnabled = false, in the RadComboBox then (in the Office 2016 theme) the entire box is faded, including the text. A suggestion in the forum was to set IsHitTestVisible to false, as well as IsTabStop. This works, but it means that the dropdown button still looks enabled. It would be nice if IsReadOnly did what I wanted, but it doesn't. Therefore, either a way to set the Visibility/Opacity of the dropdown button. Or alternatively, modify the theme(s) to make the text more visible when the box is IsEnabled is set to false, in the same way as the standard ComboBox. I'm aware that I can modify the template myself, but it'd be nicer if it was built in.
Currently filtering with virtualized RadComboBox is not supported as the filtering feature works with the containers (changes their Visibility).
The combobox lists in Windows 10 settings (see attached pictures) have an interesting behavior which could be integrated by Telerik combox controls. The behavior is as following: when the listbox is opened, it appears above the combobox control with the selected item highlighted. And the placement of the listbox can change if the first item is selected (displayed down direction) or the last item is selected (display up direction). It's difficult to explain that with simple words, so I suggest to see attached pictures to understand my request.
Available in the 2016 R3 Release. Please check our help article for more information: http://docs.telerik.com/devtools/wpf/controls/radcombobox/features/multiple-selection
When "TextSearchMode" is set to "Contains", IsEditable="True" and IsReadOnly="True": it should be possible to select all or some of the text and by pressing delete or backspace the selected text should be removed.
Currently the control scrolls by group.