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
160
Binding to ActiveRecord (SelectedItem?)
posted

Hi,

Just started using the xamdatagrid and am sure this is a simple question, however I can't find any info about how to bind to the ActiveRecord in xaml.  My grid lives in a View the View has a ViewModel as its DataContext.  My VM model exposes a SelectedItem property that should tell me what record the user has selected in the datagrid. I have tried something like this is the view's xaml:

<igDP:XamDataGrid Grid.Column="0" Grid.Row ="0" Name="dg"

 

 

 

 

DataSource="{Binding Path = SomeEntityBindingList}"

 

 

IsSynchronizedWithCurrentItem="True"

ActiveRecord = "{Binding Path = SelectedEntity}">

 but it doesn't work. How should I setup this binding?

Parents
No Data
Reply Children
No Data