BindableAttribute, Combobox, Selectedvalue property - WinForms
Posted
by user63891
on Stack Overflow
See other posts from Stack Overflow
or by user63891
Published on 2009-03-19T22:04:41Z
Indexed on
2010/03/09
0:06 UTC
Read the original article
Hit count: 261
bindable-linq
I am deriving from combobox (WinForms) and am providing a new implementation for the Selectedvalue property.
It works fine as is, but any change to the selectedvalue property is not updating other controls bound to the same "binding context" to change their values accordingly.
I did try adding the BindableAttribute(true) to the property, but still it does nottrigger the change in value to the other linked controls.
The control's DataBindings.add(...) is all set up. And other controls are also bound to the same data filed on the same datasource.
Any ideas what i am doing wrong.
© Stack Overflow or respective owner