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));
I want to use the shared XamComboEditor. What does 'the strictly bound to data' mean?
Is following code a way of 'strictly bound to data':
xamComboEditor1.ItemsSource = Methods;
I find similar code in the 'Feature Browser'. Could you use shared XamComboEditor in my sample?
BTW, I didn't get reply mail when you answer my question. Could you check your email system? Thanks
Hello,
‘Strictly bound to data’ means that you cannot add items directly in XAML. The provided code demonstrates exactly what I have in mind.
If you need any further assistance on this matter, feel free to ask.
hi,
i have one doubt in xamgrid am having xamcomboeditor but i cant access this comboeditor name in my code behind page why? pls reply
advance thanks,
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?
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.
I am attaching a sample application(comboeditorsample.zip) including share XamComboEditor.
If you have any other questions on this matter, feel free to ask