I'm using 14.1 XamComboEditor and the EmptyText property does not exist. it's throwing design time errors in VS2012 .Net 4 project. Also, Intellisense is not picking XamComboEditor.ItemTemplate as valid either. Would anyone have any thoughts or suggestions? I'm just doing a simple MVVM multi column dropdown combo.
This is the URL i'm referencing in my XAML: hthttp://help.infragistics.com/Help/Doc/WPF/2014.1/CLR4.0/html/xamComboEditor_Working_with_ItemTemplate.html
As a side question, is local help available for 14.1? If not, when?
I think, nevermind....
I was using the XamComboEditor from the shared XAML controls, not the XamComboEditor from the WPF controls and there are differences.
My next question becomes: With the same names being used on different controls serving overlapping functionality, how do we differentiate between the controls? Until now, I thought there was only 1 XamComboEditor.
I'd still like to know about local help files for 14.1.
Hello,
Thank you for your post. I have been looking into it and I can say that local help is available for 14.1 and you can install it via the platform installer. When you select WPF you can click on customize link in the bottom and this screen I attached will appear.
As for the naming of the combo editors, I can say that the cross platform XamComboEditor originally was available only in Silverlight and when it was made cross-platform we didn’t change the name, because the customers, which were currently using it, should have to change their code. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Thank you: I am good with the local help now.
My goal (for now) is this: I need to use the EmptyText property & have a fixed list in the drop down. Binding to an ObservableCollection seems like overkill. I am trying to use the following XamComboEditor (VS2013, Infragistics 14.1) but I'm stuck because the selected value is not displayed. Instead the XML node name "Resolution" is displayed.
<ig:XamComboEditor Grid.Row="1" EmptyText="select a resoloution..." > <ig:XamComboEditor.DataContext> <XmlDataProvider XPath="RDSResolutions"> <x:XData> <RDSResolutions xmlns=""> <Resolution Display="800 x 600" /> <Resolution Display="1024 x 768" /> <Resolution Display="1152 x 854" /> <Resolution Display="1280 x 1024" /> <Resolution Display="1440 x 900" /> <Resolution Display="full screen" /> </RDSResolutions> </x:XData> </XmlDataProvider> </ig:XamComboEditor.DataContext> <ig:XamComboEditor.ItemsSource> <Binding XPath="Resolution" /> </ig:XamComboEditor.ItemsSource> <ig:XamComboEditor.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition /> </Grid.RowDefinitions> <TextBlock> <TextBlock.Text> <Binding XPath="@Display" /> </TextBlock.Text> </TextBlock> </Grid> </DataTemplate> </ig:XamComboEditor.ItemTemplate> </ig:XamComboEditor>
Would anyone have any suggestions? I'm stumped (new too)
Thanks
I can suggest you set the XamComboEditor's DisplayMemberPath Property to "Attributes[Display].Value" in order to be able to show the selected item's value. Please let me know if this helps you or you have further questions on this matter.
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Picture perfect! Thank you Stefan!
I created a sample project for your code and set the DisplayMemberPath as I suggested you in my previous post and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
DisplayMemberPath="{Binding Attributes[Display].Value}" has no change in results
DisplayMemberPath="Attributes[Display].Value" displays a blank
Would Infragistics have a supporting example?