C# Class AppStore.Templates.StartPage

This page deals with the StartPage of all the App-Template.
Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: BuildmLearn/BuildmLearn-Store

Méthodes publiques

Свойство Type Description
removeParameter string

Méthodes publiques

Méthode Description
GetElementRect ( FrameworkElement element ) : Rect

This is the position of the retcangle where the app will be pinned on the Start Page.

StartPage ( ) : AppStore.Common

Public Construtor to the StartPage. Populates the views pertaining to this page.

Méthodes protégées

Méthode Description
OnNavigatedFrom ( NavigationEventArgs e ) : void

The methods provided in this section are simply used to allow NavigationHelper to respond to the page's navigation methods.

Page specific logic should be placed in event handlers for the NavigationHelper.LoadState and NavigationHelper.SaveState. The navigation parameter is available in the LoadState method in addition to page state preserved during an earlier session.

OnNavigatedTo ( NavigationEventArgs e ) : void

The methods provided in this section are simply used to allow NavigationHelper to respond to the page's navigation methods.

Page specific logic should be placed in event handlers for the NavigationHelper.LoadState and NavigationHelper.SaveState. The navigation parameter is available in the LoadState method in addition to page state preserved during an earlier session.

Private Methods

Méthode Description
Connect ( int connectionId, object target ) : void
Init ( ) : void

The method which initializes the appbar button in the application bar, whether the app is pinned or not.

InitializeComponent ( ) : void
NavigationHelper_LoadState ( object sender, LoadStateEventArgs e ) : void

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

NavigationHelper_SaveState ( object sender, SaveStateEventArgs e ) : 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.

Start_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Start button is tapped/pressed. Populates the app-template.

ToggleAppBarButton ( bool showPinButton ) : void

Toggles the appbar button in the application bar.

pinToAppBar_Click ( object sender, RoutedEventArgs e ) : void

It pins the app to the StartPage.

updateTile ( ) : void

It updates the tile, which makes a live tile view in the StartPage.

Method Details

GetElementRect() public static méthode

This is the position of the retcangle where the app will be pinned on the Start Page.
public static GetElementRect ( FrameworkElement element ) : Rect
element Windows.UI.Xaml.FrameworkElement FrameworkElement element object
Résultat Windows.Foundation.Rect

OnNavigatedFrom() protected méthode

The methods provided in this section are simply used to allow NavigationHelper to respond to the page's navigation methods.

Page specific logic should be placed in event handlers for the NavigationHelper.LoadState and NavigationHelper.SaveState. The navigation parameter is available in the LoadState method in addition to page state preserved during an earlier session.

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
Résultat void

OnNavigatedTo() protected méthode

The methods provided in this section are simply used to allow NavigationHelper to respond to the page's navigation methods.

Page specific logic should be placed in event handlers for the NavigationHelper.LoadState and NavigationHelper.SaveState. The navigation parameter is available in the LoadState method in addition to page state preserved during an earlier session.

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Provides data for navigation methods and event /// handlers that cannot cancel the navigation request.
Résultat void

StartPage() public méthode

Public Construtor to the StartPage. Populates the views pertaining to this page.
public StartPage ( ) : AppStore.Common
Résultat AppStore.Common

Property Details

removeParameter public_oe static_oe property

public static string removeParameter
Résultat string