Skip to main content

Microsoft Silverlight

Answered Question is it posible to use a Dependency Property instead of {binding}RSS Feed

(0)

lexius
lexius

Member

Member

33 points

115 Posts

is it posible to use a Dependency Property instead of {binding}

 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
bryant

Star

Star

9927 points

1,629 Posts

Silverlight MVP
Answered Question

Re: is it posible to use a Dependency Property instead of {binding}

Even easier, just hook into the TextChanged Event on your textbox and then go update the item in the collection.

-- bryant

Blog | Twitter
_________________
Dont forget to click "Mark as Answer" on the post that helped you.

lexius
lexius

Member

Member

33 points

115 Posts

Re: is it posible to use a Dependency Property instead of {binding}

 

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 ;-)

 

 

 

 

 

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities