Normal 0 false false false EN-US X-NONE X-NONE
Hi,
I am using infragistic control XamComboEditor. I have binded list "lstMode" to this
control as below:
xamcombo.ItemsSource = lstMode;
xamcombo.DisplayMemberPath = "Desc";
xamcombo.SelectedIndex = 0;
I would like to bind selectedvalue to XamComboEditor by object data as we can
do in silverlight combobox control as below but I am not getting SelectedValue
property in XamComboEditor .
combo.SelectedValue = objconn.MetadataId;
Hello Asit,
This post seems to be the same issue as in
http://community.infragistics.com/forums/t/57642.aspx
Did the sample I posted there, resolve your needs on this issue?
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support
Hi Asit,
I am not sure what kind of sample do you need. The idea is that you need to create custom class let say MyXamComboEditor which inherits XamComboEditor. In MyXamComboEditor you need to add some code as shown in forum thread i referred to i my previous post. And the you use MyXamComboEditor the way you wanted - i.e using SelectedValue.
Hope that helps,
Hi Konstaintin,
Thanks for reply.
I checked that form, do you have any sample regarding that
So i will just go through.
I am waiting your reply.
XamComboEditor does not implement SelectedValue & SelectedValuePath pattern(it does not have these properties). However you could check this forum thread(at the bottom) out to find out how to subclass XamComboEditor in order to implement this pattern.
Regards,