wpf - How to I pass additional data to a bound datagrid? -


so have data grid bound object, there way pass addition list/variable it?

specifically:

<datagrid x:name="indoorunittable" itemssource="{binding boundlist, mode=twoway, notifyonsourceupdated=true, updatesourcetrigger=propertychanged}"    ...        <datatemplate x:name="propertyfromothertable">              <textblock text="{binding otherlistiwant, mode=twoway, converter={staticresource converterfortwolists}, updatesourcetrigger=propertychanged}"/>        </datatemplate> 

you have use converterparameter in binding, passed converter parameter. hope have understood question correctly ;)


Comments

Popular posts from this blog

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Create a stacked percentage column -