Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 6 results for Element Binding.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Dec 10, 2009 (6 months ago)

    This post of Gill Cleeren is concentrated on the element binding introduced in Silverlight 3.

    Today we are looking at a data binding feature that was introduced with Silverlight 3. The reason I’m dedicating an article to it, is that not that many people seem to know about this little gem, namely element-to-element binding or simply element binding. Regular data binding happens between a source object (for example a Person or a Customer) and a control such as a TextBlock. Element binding happens between 2 controls: a property of element A is bound to a property of element B.



  • 0 comments  /  posted by  Silverlight Show  on  Aug 28, 2009 (9 months ago)
    Jesse Liberty has published three new podcasts on Silverlight 3.

    This month I had the opportunity to be on Sparkling Client three times to talk about Silverlight 3 features

    • Easing – August 13
    • Element to Element Binding – August 20
    • Validation – August 26
  • 0 comments  /  posted by  Silverlight Show  on  Aug 10, 2009 (10 months ago)
    This article of Malcolm Sheridan demonstrates how to use the element binding feature in Silverlight 3.

    Silverlight 3 has some new binding features that makes binding data to the controls even easier. The one I am going to focus on today is the ElementName property. The ElementName property gets or sets the name of the element to use as the binding source object. By using this property you can now use one user interface element as the binding object for another. This can great reduce the amount of code you need to write.

  • 0 comments  /  posted by  Silverlight Show  on  Jul 22, 2009 (10 months ago)

    Jesse Liberty explains how with element binding it is now possible to bind the value of one object in your UI directly to a second object, without recourse to binding to a data object or handling events.

    Until Silverlight 3, the easiest way to get this to work was to bind both the Slider and the TextBlcok to a data object. When the slider’s value changed, a property in the data object would be modified, and the TextBlock, also bound to that property would be updated (assuming you had implemented the INotifyPropertyChanged interface as discussed here. This can still be done, but now you can leave out the data object.

  • 0 comments  /  posted by  Silverlight Show  on  Jun 30, 2009 (11 months ago)

    Andrej Tozon published the next two articles of the "Countdown to Silverlight 3" series. Here they are: Part 4: Element binding and Part 5: ChildWindow (Modal, Non-modal, Templated). You can find links to the previous three posts here.

    There are many controls being introduced in Silverlight 3; a lot of them were pulled from the Silverlight Toolkit (the idea is that for every new Silverlight version, Toolkit controls marked as stable are moved to the Silverlight core. I’m not sure how many new controls I’m going to cover in this series, but the ChildWindow definitely deserves a separate post and sample.

  • 3 comments  /  posted by  Emil Stoychev  on  Mar 23, 2009 (more than a year ago)

    Silverlight 3 enables property binding to CLR objects and other UI components via XAML – UI to UI binding. It is useful in a lot of scenarios and saves time for both developers and designers.

    Example

    Download source code

    Syntax

    {Binding Value, ElementName=MySlider}

    where Value is property of a CLR object and MySlider is the name of this object

    Hope that helps!


Help us make SilverlightShow even better and win a free t-shirt. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need a material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)