C# 클래스 AppStore.Templates.StartPage

This page deals with the StartPage of all the App-Template.
상속: Windows.UI.Xaml.Controls.Page
파일 보기 프로젝트 열기: BuildmLearn/BuildmLearn-Store

공개 프로퍼티들

프로퍼티 타입 설명
removeParameter string

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

GetElementRect() 공개 정적인 메소드

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
리턴 Windows.Foundation.Rect

OnNavigatedFrom() 보호된 메소드

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.
리턴 void

OnNavigatedTo() 보호된 메소드

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.
리턴 void

StartPage() 공개 메소드

Public Construtor to the StartPage. Populates the views pertaining to this page.
public StartPage ( ) : AppStore.Common
리턴 AppStore.Common

프로퍼티 상세

removeParameter 공개적으로 정적으로 프로퍼티

public static string removeParameter
리턴 string