The "{" character cannot be entered in the RadComboBox when the keyboard is German (Swiss).
As a wokaround, you can inherit the RadComboBox and override the HandleKeyDown method:
public class CustomRadComboBox : RadComboBox
{
protected override bool HandleKeyDown(Key systemKey, int platformKeyCode)
{
if(systemKey == Key.Oem5)
{
return false;
}
return base.HandleKeyDown(systemKey, platformKeyCode);
}
}
When the theme variation is changed in the VisualStudio2013 theme, the mouse over color is not updated.
As a workaround, we can reset the Template of the RadComboBox.
var template = this.comboBox.Template;
this.comboBox.Template = null;
this.comboBox.Template = template;
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.
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.
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.
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.
Specifically this bug was found in WPF, I'm not sure of its state in Silverlight. The FontWeight is permanently some shade of Bold when using Metro. This is demonstrated in the Telerik WPF demos in the ComboBox/Theming demo.