I am using GridViwTogglerowDetailsColumn based on year value (2010, 2014, 2018) need to display the year related data but how do i accomplish this .
Here I have a student marks details for year 2010 ,2014 and 2018 when I select 2010 year node it neeed to display onlt that year marks list and remaing years need to go disable . but here displaying all years records in all rows
In code behind i would like to write like this (x:Name
But system displaying an error "Error 1 'MasterViewDemoMVVM.StudentView' does not contain a definition for 'lastYear' and no extension method 'lastYear' accepting a first argument of type 'MasterViewDemoMVVM.StudentView' could be found (are you missing a using directive or an assembly reference?) C:\Users\mandapellyr\Documents\Visual Studio 2012\Projects\MasterViewDemoMVVM\MasterViewDemoMVVM\StudentView.xaml.cs 41 22 MasterViewDemoMVVM
How can i over come this
Kindly help me .