Example #1
0
 /// <summary>
 /// Raises the <see cref="E:WindowContentSwitchRequested" /> event.
 /// </summary>
 /// <param name="e">The <see cref="WindowContentSwitchRequestedEventArgs"/> instance containing the event data.</param>
 private void OnWindowContentSwitchRequested(WindowContentSwitchRequestedEventArgs e)
 {
     if (this.WindowContentSwitchRequested != null)
     {
         this.WindowContentSwitchRequested(this, e);
     }
 }
 /// <summary>
 /// Swaps the wîndow content to the requested view model
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">The <see cref="WindowContentSwitchRequestedEventArgs"/> instance containing the event data.</param>
 public void WindowContentSwitchRequested(object sender, WindowContentSwitchRequestedEventArgs args)
 {
     this.SwitchWindowContent(args.ViewModel);
 }