OK... I am migrating from the agDataGrid (DevExpress) Silverlight control to Infragistics XamWebGrid. In my application using the devExpress grid, I have a button in each row that is bound to that row object. kind of confusing I know, but let me try to explain.... A recordset from the DB creates a list of objects, that list is bound to the Item Srouce of the grid becoming the rows, so the button within the row has a reference to that row object in its tag property. Now I can directly access the row object by casting the contents of the tag. This can be accomplished in the DevExpress grid by simply saying: <button x:name="foo" Tag="{Binding RowValue}"/>
My question is... is there any way to do this in Infragistics?
Thanks
Marc
Hi Marc,
If i'm understanding you correctly. All you should need to do is create a TemplateColumn, put your button in the ItemTemplate property of the column, and for the tag property set it to a straight up binding.
<Button Content="Click Me" Tag={Binding} />
Hope this helps.
-SteveZ
Yes, that worked... thank you very much....
Now another stupid question, one of the things in silverlight that has really bugged me is the whole binding thing. is there any GOOD documentation on binding, and what you can bind?