If the height of RadComboBox is set to a value smaller than 26px (in Office2013) then the content of the RadToggleButton presenting the selected content is clipped.
This was reproduced with the Office2013 theme.
To work this around set the MinHeight of the child RadToggleButton to the same MinHeight as RadComboBox.
private
void
RadComboBox_Loaded(
object
sender, RoutedEventArgs e)
{
var comboBox = (RadComboBox)sender;
var toggle = comboBox.FindChildByType<RadToggleButton>();
toggle.MinHeight = comboBox.MinHeight;
}
The following xaml code
<telerik:RadComboBox Margin="5"
ItemsSource="{Binding Path=AvailableServices}"
IsEditable="True"
Text="{Binding Path=Service, Mode=TwoWay}"/>
<ComboBox Margin="5"
ItemsSource="{Binding Path=AvailableServices}"
IsEditable="True"
Text="{Binding Path=Service, Mode=TwoWay}"/>
with this view model
public class ViewModel {
public ObservableCollection<string> AvailableServices { get; set; } = new ObservableCollection<string> { "UPS Standard", "UPS Express Saver", "UPS Express 12:00", "UPS Express" };
public string Service { get; set; } = "UPS Express";
}
produces the attached output.
The standard WPF ComboBox is set to "UPS Express" as expected while the RadComboBox shows "UPS Express Saver" which probably was incorrectly autocompleted.
When you start navigating through the ribbon via the keytips or the arrow keys, and you get to a RadRibbonComboBox, this opens its drop down which contains RadRibbonComboBoxItems.
In this case the keyboard navigation (using the arrows) of the RadRibbonComboBox doesn't work. This happens because the ribbon navigation implementation interfere with the combobox navigation.
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.
It looks like the `Fluent` themes may not properly theme the Non-Editable RadComboBox control.
Within the default style for RadComboBox within Telerik.Windows.Controls.Input.xaml, there exists a RadToggleButton with the name "PART_DropDownButton" which is part of the main control template. This toggle button uses the style "NonEditableComboToggleButtonStyle", which then sets the toggle button template to the "NonEditableComboToggleButtonControlTemplate" control template.
This control template has a Border named "ToggleButtonBackground" where to background is set to a template binding. However, the NonEditableComboToggleButtonStyle does not set background, and it therefore leads to a control that looks like the attached image.
This can be fixed by overriding the RadComboBox style, but it isn't simple to set the background on the ToggleButton, so you need to create custom templates and style to do it.
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).
Available in the R1 2017 SP1 Release.
Available in LIB version 2016.3.1017, it will be also available in the 2016 R3 SP1 release.