WPF, databinding
Posted
by fsl
on Stack Overflow
See other posts from Stack Overflow
or by fsl
Published on 2010-05-16T10:48:26Z
Indexed on
2010/05/16
12:10 UTC
Read the original article
Hit count: 148
wpf
|databinding
Hi there
In a given binding is it possible to specify the path on the source object? Seems like this could a void a lot of trivial converters..
Imagine this..:
class foo
{
bool A
int B
}
<ComboBox ItemsSource="ListOfFoos" SelectedItem="{Binding number, SourcePath=B}" />
© Stack Overflow or respective owner