i have some trouble with the RadComboBox control.
Window is Loaded, see Screenshot 001
I clicked in RadComboBox, see Screenshot 002
I typed in "14" and pressed Enter, see Screenshot 003
I clicked again in RadComboBox and I have severell problems. (see Screenshot 004)
- Marked Text cannot be overriden
- DropDown doesn't show up, even if I clicked clear
- No caret appears
The Code is very minimalistic
<Window x:Class="RadComboBoxSample.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Title="MainWindow" Height="220" Width="220">
<Window.Resources>
<Style x:Key="RadComboBoxContentUserControlStyle" TargetType="telerik:RadComboBox">
<Setter Property="Margin" Value="10" />
<Setter Property="Padding" Value="10" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="IsReadOnly" Value="True" />
<Setter Property="IsEditable" Value="True" />
<Setter Property="IsFilteringEnabled" Value="True" />
<Setter Property="CanAutocompleteSelectItems" Value="True" />
<Setter Property="CanKeyboardNavigationSelectItems" Value="True" />
<Setter Property="OpenDropDownOnFocus" Value="True" />
<Setter Property="TextSearchMode" Value="Contains" />
<Setter Property="ClearSelectionButtonVisibility" Value="Visible" />
<Setter Property="ClearSelectionButtonContent" Value="Clear" />
<Setter Property="EmptyText" Value="Please select" />
</Style>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" MinWidth="200" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<telerik:RadComboBox Grid.Column="0" Grid.Row="0" Style="{StaticResource RadComboBoxContentUserControlStyle}">
<telerik:RadComboBoxItem Content="14 - Car" />
<telerik:RadComboBoxItem Content="15 - Airplane" />
<telerik:RadComboBoxItem Content="16 - Boat" />
<telerik:RadComboBoxItem Content="17 - Bike" />
</telerik:RadComboBox>
</Grid>
</Window>