public SingleControlExamplesTouch() { this.viewModel = (SingleControlExamplesViewModel) ViewModelLocator.GetViewModel(this); this.DataContext = this.viewModel; this.InitializeComponent(); this.examplesListScrollHelper = new ExamplesListScrollHelper(this.ListView, this.rootSingleControlExamplesTouch); this.examplesListScrollHelper.Initialize(); }
public AllControlsTouch() { this.viewModel = (AllControlsTouchViewModel)ViewModelLocator.GetViewModel(this); this.DataContext = viewModel; InitializeComponent(); this.examplesListScrollHelper = new ExamplesListScrollHelper(this.allControlsTileList, this.rootAllControls); this.examplesListScrollHelper.Initialize(); }