Skip to main content
Home Forums Silverlight Programming Programming with .NET - General is it posible to use a Dependency Property instead of {binding}
2 replies. Latest Post by lexius on January 6, 2009.
(0)
lexius
Member
33 points
115 Posts
01-06-2009 5:00 PM |
Hi,
is it posible to use a dependancy property when the Text value of a textbox has changed to then go and change a value in an observable collection?
rather than using {Binding}
bryant
Star
9927 points
1,629 Posts
01-06-2009 6:34 PM |
Even easier, just hook into the TextChanged Event on your textbox and then go update the item in the collection.
01-06-2009 7:10 PM |
they should change the points system on this forum so you get double points when use the phrase :"Even easier"
thanks very much, I was just delving into my emails in order to post for help on Elance and look for a Silverlight Developer.... I might be able to salvage my project yet if this works....
one quick question.. not really essential to me but I am curious to know:
say if i have about 30 custom controls on screen, each has about 6 text boxes and they are two-way databound. would that be pretty intensive in anyway (either to the client or server)
or would it be much better design to simply write once all data to the custom controls (& respective Textboxes), then simply use the TextChange event (as you suggested).. im guessing its about the same?, but really dont know.
thanks again ;-)