Mike Taulty's Blog
Bits and Bytes from Microsoft UK
A quick look at Silverlight 3: Element to Element Data Binding

Blogs

Mike Taulty's Blog

Elsewhere

Archives

Something that I really like in WPF and I’ve missed in Silverlight is the ability to bind one UI element to another which often causes you to have to inject additional data classes purely to make databinding work.

I’m really glad to see this show up in Silverlight 3 so that I can write XAML like;

<MediaElement
        Source="silverlight.wmv"
        Volume="{Binding ElementName=slider, Path=Value, Mode=TwoWay}" />
    <Slider
        Grid.Row="1"
        Name="slider"
        Maximum="1"
        Minimum="0"
        Value="0.5" />

and there’s no code to write to get that stuff working – cool :-)

This is one of a series of posts taking a quick look at Silverlight 3 – expect them to be a little “rough and ready” and that they’ll get expanded on as I’ve had more time to work with Silverlight 3.


Posted Wed, Mar 18 2009 12:01 PM by mtaulty
Filed under: ,

Comments

Mike Taulty's Blog wrote Silverlight 3: More Posts?
on Wed, Mar 18 2009 1:43 PM

Just a quick note – I didn’t want anyone to think that I’d given up on Silverlight 3 or that these posts;

A quick look at Silverlight 3 - by Mike Taulty | DavideZordan.net wrote A quick look at Silverlight 3 - by Mike Taulty | DavideZordan.net
on Thu, Mar 19 2009 5:13 AM
A quick look at Silverlight 3 – By Mike Taulty « vincenthome’s Tech Clips wrote A quick look at Silverlight 3 &ndash; By Mike Taulty &laquo; vincenthome&#8217;s Tech Clips
on Thu, Mar 19 2009 9:33 PM