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.
Hello Roman,
I am just checking if you require any further assistance on the matter.
Enclosed you will find the example.
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.
Thank you for your answer.
But now the autocomplete function is no longer available. (just for the first character)
After further research on the matter I made a little modification to the project that you have attached to scroll horizontally to the beginning of the text and to keep the selection at the same time. This could be achieved by using the TextBox element that is part of the editor and call the ScrollToLine method every time the selection is changed (that will happen when user enters characters). I hope this approach will help. Let me know if you have any other questions or concerns.
I am just checking if my last reply was helpful for you.
If you require any further assistance, please do not hesitate to ask.
Hallo.
Yes ist works, but this is just a workaround, because sometimes i have to wait after the selection is correct aligned or i see the caracters "flickering".
Best regards,
Roman
Hallo Roman,
You may consider logging a product idea at: http://ideas.infragistics.com for including this functionality in one of our future versions. Additional information about the process and its benefits can be found below.
Steps to create your idea: 1. Log into the Infragistics Product Ideas site at http://ideas.infragistics.com (creating a new login if needed).2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)3. Add your product idea and be sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
The benefits of submitting the product idea yourself include:- Direct communication with our product management team regarding your product idea.- Notifications whenever new information regarding your idea becomes available.
Additional benefits of the Product Idea system include:
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.- Allow you to shape the future of our products by requesting new controls and products altogether.- You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.