The filter is not updated when the DeferTextChange property is set to True. The properties set to the control:
<telerik:RadMultiColumnComboBox x:Name="OptionsComboBox"
DisplayMemberPath="Name"
NullText="Select an option..."
CloseDropDownAfterSelectionInput="True"
DropDownWidth="440" DropDownHeight="220"
Height="32"
SelectionBoxesVisibility="Collapsed"
AutoCompleteMode="SuggestAppend"
ClearSelectionOnDeleteOrBackKey="True"
DeferTextChange="True">
. . . . . 1. Select Banana from the dropdown. It should appear as editable text without the little × button.
2. Reopen the dropdown, so we can se it
3. Click in the middle of banana in the textbox(not the dropdown), then Ctrl+A and type zz.
4. Wait a second, then Ctrl+A, Backspace.
private void ScrollViewer_PreviewMouseWheel(object sender, MouseWheelEventArgs e)
{
if (sender is ListBox && !e.Handled)
{
e.Handled = true;
var eventArg = new MouseWheelEventArgs(e.MouseDevice, e.Timestamp, e.Delta);
eventArg.RoutedEvent = UIElement.MouseWheelEvent;
eventArg.Source = sender;
var parent = ((Control)sender).Parent as UIElement;
parent.RaiseEvent(eventArg);
}
}Remove the possibility for one or more rows to be searched on.
In other words, it should not be possible to select disabled item rows by search.
It would be usefull to have a Property on the RadMultiColumnComboBox which represents the inputted searchtext. This Property should be TwoWay-Bindable.
A usecase for it could be to programmatically manipulate the searchtext.
For example setting it to NULL on LostFocus:
private void mccb_LostFocus(object sender, RoutedEventArgs e)
{
this.mccb.ChildrenOfType<RadWatermarkTextBox>().First().Text = string.Empty;
}Instead of hacking around with the visualTree etc. one could simply bind the property. This would also be MVVM compliant.
Proposed Name for the Property "SearchText".
The RadMultiColumnComboBox has a separate keyboard functionality executed when the watermark textbox (the search box) is focused and the dropdown is open. Basically, you can navigate through the rows of the gridview part and select them using the keyboard.
Currently, this functionality is private. Introduce an API that allows you to customize the keyboard navigation. Consider something similar to the KeyboardCommandProvider of RadGridView.
Hello,
Add non-editable feature to MultiColumnComboBox ( like on ComboBox ).
Thx,
Tino.