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
45
SelectedItems not available in xamcomboeditor
posted

Hi Team,

I'm using Infragistics 19.2. I'm trying to use xamcomboeditor to make use of multiple selection in the dropdown. But when I use xamcomboeditor, i'm unable to use selecteditems, emptytext, allowmultipleselection properties. it is showing property was found. Could you please help me with this. It's really an urgent task to be completed.

please find the code below:

<editors:XamComboEditor x:Name="SecondaryLanguagesCM"
Background="Transparent"
BorderBrush="Transparent" Grid.ZIndex="2" Grid.Row="0"
MaxDropDownHeight="250" Cursor="Hand"
Margin="1,5,1,0" VerticalContentAlignment="Bottom"
Width="Auto" Height="Auto" FontFamily="SegoeUI"
FontSize="14" BorderThickness="0"
Foreground="{StaticResource DarkGrayBrush}"
EmptyText="Select ..."
ItemsSource="{Binding Path=ListSecondaryLanguages}"
CheckBoxVisibility="Visible"
AllowMultipleSelection="True"
/>

TIA.

Parents
No Data
Reply
  • 1560
    Verified Answer
    Offline posted
    Hello,

    I have been looking into your question and created a small sample following the steps provided in this topic in our documentation, however, on my side, everything seems to work as expected.

    Please make sure you included the correct dll-s:
       - InfragisticsWPF.dll
       - InfragisticsWPF.Controls.Editors.XamComboEditor.dll
       - InfragisticsWPF.DataManager.dll

    and the combo is imported from Infragistics.Controls.Editors:
    xmlns:ig="http://schemas.infragistics.com/xaml"
    ...
     <ig:XamComboEditor 
                ItemsSource="{Binding Source={StaticResource DataUtil}, Path=Products}"
                DisplayMemberPath="ProductName"
                EmptyText="Select ..."            
                AllowMultipleSelection="True"
                HorizontalAlignment="Left"
                Margin="188,149,0,0" 
                VerticalAlignment="Top" 
                Width="447"/>

    Attached you will find my sample for your reference. Please test it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce. Alternatively, if the behavior cannot be replicated please feel free to provide your own sample. Remove any external dependencies and code that is not directly related to the issue, zip your application and attach it in this case.

    Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.

    Thank you for your cooperation.

    Looking forward to hearing from you.
    Sincerely,
    Teodosia Hristodorova
    Associate Software Developer
Children
No Data