WPF DataGrid Binding List of Object that contains Dictionary<string,string> in XAML -


i'm trying figure out how display data dictionary property of list inside wpf datagrid gridviewcolumn

all examples find appear map list of simple entities can . traversed {binding answers.title}. mine more {binding answers["title"]} doesn't work in xaml

i'm missing obvious here. ideas?

edit: list contains entity contains dictionary. answers dictionary in entity.

if understand correctly, have dictionary datacontext, , need display either key or value listboxitem. can try following :

here data dictionary can change displaymemberpath="key", if need display key. can used display data property while complex object in datacontext.


Comments

Popular posts from this blog

Line ending issue with Mercurial or Visual Studio -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -