leelha

leelha

  • NA
  • 72
  • 32.5k

wpf Binding help

Mar 11 2014 9:26 AM
Hi,
I have a dictionary as below:
public IDictionary<string, EntityProperty> MyItem { get; set; }

and I want to bind it to a textbox. My code is:

<TextBlock Text="{Binding Path=MyItem[1].Value.StringValue}" FontSize="24" FontWeight="Bold"/>

But it is not working. need help.


Answers (1)