wpf - Binding on a row of a list -


i'm searching way making binding of datagrid colomn on row of list looking in pseudo code:

                datagridtextcolumn colbuild = new datagridtextcolumn                 {                     header = "custom column name",                     binding = new binding("mylist.elementat(0)")                 }; 

i known can looks strange i'm looking adding variable number of custom columns on datagrid in addition fixed ones. , don't know how data filled in columns. can me?


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -