Hello Team,
I am trying to incorporate a mutli - line textbox with intellisense in a WPF window. When a user enters predefined characters in the textbox (e.g. "[","."), a list box should be displayed with available options. I am trying not to reinvent the wheel, hence, I am wondering if I can implement the desired features with the available infragistics controls without any customisation. Please help. Thank you.
Regards,
Sherif
Hello Sherif,
The editors has a SelectionStart Property, which can be set in order to modify the caret position.
Hope this helps you.
Hello Stefan,
Is it possible to get and set the caret position in any of these two controls. In the RichTextBox control, there's a property called CaretPostiion.
Thank you.
Best regards,
Since the proeprties used in this article are custom and they are added to a control which derives from RichTextBox, I believe that you can inherit our XamTextEditor or XamMaskedEditor and add the same properties.
Hello Stefan and Danko,
Thank you all for your help and assistance. I have found what I am looking for in this article: http://www.codeproject.com/Articles/180311/Rich-Text-Box-With-Intellisense-Ability
Can I use an Infragistics control instead of the RichTextBox control providing the same functionalities in the article? Thank you.
Please feel free to let us know if you have any other questions with this matter.