On Nov 8, 6:27 am, Glenn Block <
glenn.bl...@gmail.com> wrote:
> Daniel, this sounds awesome. Can't wait to check it out!
>
> On 11/7/09, Daniel Vaughan <
dbvaug...@gmail.com> wrote:
>
>
>
>
>
> > For those of you that might be interested, I have just published a
> > short article on my blog entitled Compile-Time Validation of Composite
> > Object Data Binding Expressions with Generated Metadata.
> > It shows how T4 generated metadata can be used to not only provide
> > compile time XAML validation of properties on classes, but also
> > composite classes, and anywhere you need to combine paths. Such as the
> > SelectedItem in a ListBox like so:
> > <Label Content="{Binding ElementName=listBox,
> > Path={Demo:JoinPath
> > SelectedItem,
> > {x:Static Metadata:PersonMetadata.Address},
> > {x:Static Metadata:AddressMetadata.StreetLine}}}"/>
>