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
200
Binding Problem with XamComboEditor.ValueProperty and dependecy property
posted

Hello,

I have a class with a XamComboEditor inside

this class expose a DependencyProperty with a Current selected value on xamcomboeditor member

In the constructor's class, i define a binding object between xamcomboeditor and DP:

//SelectedItem

 

Binding b = new Binding();

b.Source =

this;

b.Path =

new PropertyPath(GenericDropDownListControl<V>.SelectedItemProperty);

b.Mode =

BindingMode.TwoWay;

b.UpdateSourceTrigger =

UpdateSourceTrigger.PropertyChanged;

 

this.xamComboControl.SetBinding(XamComboControl.SelectedItemProperty, b);

I use Value Property from this class to bind my bussines object. It works fine when update the bussins property from a xamcomboeditor, but when update de property in manual way, the xamcomboeditor not refresh the ValueProperty.

any help? :-(

Parents
No Data
Reply Children
No Data