WPF Binding to Items within a dictionary by key?
Posted
by Sonic Soul
on Stack Overflow
See other posts from Stack Overflow
or by Sonic Soul
Published on 2010-06-05T15:58:33Z
Indexed on
2010/06/05
16:22 UTC
Read the original article
Hit count: 165
wpf
ok.. so i noticed (by trial and error) that i can bind to a collection item using index:
<TextBlock FontStyle="Italic" Text="{Binding Path=Exchanges[0].Name}" />
but what about using a dictionary key? Path=Exchanges['AMEX'].Name
© Stack Overflow or respective owner