I find sometime xamComboEditor has different items number between ItemsSource and Items. I can't provider the data which I bind to ItemsSource. The scenario is I bind 4 item to ItemsSource but the Items only has one empty item. When I set SelectIndex as 2, it crash. I use 11.2 version.
xaml code is:
<ig:XamComboEditor Name="PropertyUnitComboBox" Width="70" ItemsSource="{Binding RelativeSource={RelativeSource AncestorType=local:AFAMPropertyParameterControl},Path= PropertyUnits}" DisplayMemberPath="Name" Margin="10,0,0,0" IsEditable="True" AllowMultipleSelection="False" />
PropertyUnits is:
public IEnumerable PropertyUnits { get { return (IEnumerable)GetValue(PropertyUnitsProperty); } set { SetValue(PropertyUnitsProperty, value); } } public static readonly DependencyProperty PropertyUnitsProperty = DependencyProperty.Register("PropertyUnits", typeof(IEnumerable), typeof(AFAMPropertyParameterControl), new UIPropertyMetadata(null));
Hello deepadharshini,
Would you please explain how exactly you use XamComboEdior in XamGrid ?
Looking forward to hearing from you.
You mean I need to use a class/interface and DisplayMemberPath to show them? I have similar problem. Could you give me a sample?
Hello,
I am attaching a sample application(comboeditorsample.zip) including share XamComboEditor.
If you have any other questions on this matter, feel free to ask
After some research the functionality that you are looking for has been determined to be a new product idea. I have sent your product idea directly to our product management team. Our product team chooses new product ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this product idea is PI12050079.
If you would like to follow up on your product idea at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.