Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
Bind SelectedRow to Labels
posted

Hi,

I would like to Bind the values of the Current SelectedRow in a xamDataGrid to a bunch of Labels. But I can't figure out how to do so.

Can you please send me an example how to do this?

 

Parents
No Data
Reply
  • 69686
    Verified Answer
    posted

    Hello,

    You could create binding like this:

    "{Binding ElementName=xamDataGrid1, Path=ActiveRecord.Cells[0].Value}"

    or

    "{Binding ElementName=xamDataGrid1, Path=ActiveRecord.DataItem.Property1}"

    or

    "{Binding ElementName=xamDataGrid1, Path=SelectedItems.Records[0].Cells[0].Value}"

Children
No Data