protected LoadState ( Object navigationParameter, Object>.Dictionary |
||
navigationParameter | Object | The parameter value passed to
/// |
pageState | Object>.Dictionary | A dictionary of state preserved by this page during an earlier /// session. This will be null the first time a page is visited. |
return | void |
protected override void LoadState(Object navigationParameter, Dictionary<String, Object> pageState)
{
// TODO: Create an appropriate data model for your problem domain to replace the sample data
var sampleDataGroups = SampleDataSource.GetGroups((String)navigationParameter);
this.DefaultViewModel["Groups"] = sampleDataGroups;
}