Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
xamComboEditor.Focus() does not make it editable
posted

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

Parents
  • 12004
    posted

    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.

Reply Children