Hi,
We are using the Xam ComboEditor with the IsEditable Property = true and a fixed width. Drop Down Entries are longer than the fixed width.
The user can enter manually text to select the related item, but cannot see the entered text, because the cursor is outside the Selected Value range( because the drop down entries are longer...)
Example:Drop Down Text (with open Drop Down): 01-1215-0000 / TOWBAR, AIR TRANSPORTABLEEntering manually in text box the visible area shows: TRANSPORTABLE and the user don't see what he is typing...
Is there any way to align the selected value to the left?
Please any help would be a appreciate.
Hi Roman,
I have been looking into your requirement and you can handle the ‘SelectedItemChanged’ event and set the selection length to “0” like e.g.:
private void XamComboEditor_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
{
Dispatcher.BeginInvoke(new Action(() =>
(sender as XamComboEditor).SelectionLength = 0;
}), System.Windows.Threading.DispatcherPriority.SystemIdle, null);
}
Let me know, if you need any further assistance on this matter.
Enclosed you will find the example.
Hello Roman,
I am just checking if you require any further assistance on the matter.
Thank you for your post. I have not been able to reproduce the described issue. Could you please attach a sample application that demonstrates it and the specific version of our assembly files that you are using?
Looking forward to hearing from you.