Hi,
I am programmatically trying to make a xamComboEditor go into focus+editable mode , so that user sees the blinking cursor.Though the combobox gets focus as i can see the dotted line around the combobox, I do not see it as editable. This is not the behaviour for ordinary WPF Combobox. Note that my combobox is
<ig:XamComboEditor ItemsSource="{Binding Books}" Height="23" IsEditable="True" DisplayMemberPath="Name" OpenDropDownOnTyping="False" AutoComplete="True" IsDropDownOpen="False" AllowMultipleSelection="True" PreviewKeyDown="BooksCombo_PreviewKeyDown" CheckBoxVisibility="Visible" HorizontalAlignment="Right" VerticalAlignment="Top" Width="167" Name="BooksCombo" CustomValueEnteredAction="Allow" />
Thanks
Anindya
Hello Anindya Chakrabarti,
In the xamComboEditor uses the WPF ComboBox in the EditTemplate that can be found in the default styles folder. E.g.: C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\WPF\DefaultStyles\Editors\EditorsGeneric.xaml.
To enter edit mode there is an IsInEditMode property that can be set to true.
Let me know if I can provide any further assistance.
Use
combo.IsDropDownOpen=true;
combo.IsDropDownOpen=false;
true will focus, go in edit mode and drop down the list (as there is no implementaion to go in edit mode in v12)
false will hide the list.
the focus and edit mode will be there.
Hello Prashant,
Thank you for sharing this. I believe that the other community members may benefit from this as well.
Thanks again.