C# Class Windows8_Controls_Showcase.Views.MainHub

A basic page that provides characteristics common to most applications.
Inheritance: Windows8_Controls_Showcase.Common.LayoutAwarePage
Mostra file Open project: RedSafi-UX/SugarUIEnhancedControls

Public Methods

Method Description
MainHub ( ) : System
mainGridView_ItemClick ( object sender, ItemClickEventArgs e ) : void

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.

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.

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

MainHub() public method

public MainHub ( ) : System
return System

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

mainGridView_ItemClick() public method

public mainGridView_ItemClick ( object sender, ItemClickEventArgs e ) : void
sender object
e Windows.UI.Xaml.Controls.ItemClickEventArgs
return void