C# Class Cirrious.Sphero.WorkBench.UI.WinRT.Views.SpheroView

A basic page that provides characteristics common to most applications.
Inheritance: Cirrious.Sphero.WorkBench.UI.WinRT.Common.LayoutAwarePage
Show file Open project: slodge/BallControl

Public Methods

Method Description
SpheroView ( ) : System

Protected Methods

Method Description
LoadState ( Object navigationParameter, Object>.Dictionary pageState ) : void

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.

OnNavigatedTo ( NavigationEventArgs e ) : void
OnNavigatingFrom ( NavigatingCancelEventArgs e ) : void
SaveState ( Object>.Dictionary pageState ) : void

Preserves state associated with this page in case the application is suspended or the page is discarded from the navigation cache. Values must conform to the serialization requirements of SuspensionManager.SessionState.

Private Methods

Method Description
MoveJoystickOnNewCoordinates ( object sender, MvxValueEventArgs eventArgs ) : void
MoveJoystickOnStop ( object sender, IsStoppedEventArgs isStoppedEventArgs ) : void
RefreshVisibilities ( ) : void
Selector_OnSelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Method Details

LoadState() protected method

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.
protected LoadState ( Object navigationParameter, Object>.Dictionary pageState ) : void
navigationParameter Object The parameter value passed to /// when this page was initially requested. ///
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

OnNavigatedTo() protected method

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void

OnNavigatingFrom() protected method

protected OnNavigatingFrom ( NavigatingCancelEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigatingCancelEventArgs
return void

SaveState() protected method

Preserves state associated with this page in case the application is suspended or the page is discarded from the navigation cache. Values must conform to the serialization requirements of SuspensionManager.SessionState.
protected SaveState ( Object>.Dictionary pageState ) : void
pageState Object>.Dictionary An empty dictionary to be populated with serializable state.
return void

SpheroView() public method

public SpheroView ( ) : System
return System