C# 클래스 SDKTemplate.MainPage

상속: global::Windows.UI.Xaml.Controls.Page
파일 보기 프로젝트 열기: jkuemerle/CodeMash2013 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AutoSizeInputSectionWhenSnapped bool
Current MainPage
LaunchArgs Windows.ApplicationModel.Activation.LaunchActivatedEventArgs

공개 메소드들

메소드 설명
LoadScenario ( Type scenarioClass ) : void

This method is responsible for loading the individual input and output sections for each scenario. This is based on navigating a hidden Frame to the ScenarioX.xaml page and then extracting out the input and output sections into the respective UserControl on the main page.

MainPage ( ) : System
MainPage_SizeChanged ( object sender, SizeChangedEventArgs e ) : void
NotifyUser ( string strMessage, NotifyType type ) : void
Scenarios_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

보호된 메소드들

메소드 설명
OnNavigatedFrom ( NavigationEventArgs e ) : void
OnNavigatedTo ( NavigationEventArgs e ) : void

Invoked when this page is about to be displayed in a Frame.

비공개 메소드들

메소드 설명
AddContentValue ( string title, string description = null ) : void
AddQuickLink_Checked ( object sender, RoutedEventArgs e ) : void
AddQuickLink_Unchecked ( object sender, RoutedEventArgs e ) : void
ExpandLongRunningShareSection_Checked ( object sender, RoutedEventArgs e ) : void
ExpandLongRunningShareSection_Unchecked ( object sender, RoutedEventArgs e ) : void
Footer_Click ( object sender, RoutedEventArgs e ) : void
InvalidateSize ( ) : void
InvalidateViewState ( ) : void
LongRunningShareLabel_Tapped ( object sender, TappedRoutedEventArgs e ) : void
NotifyUserBackgroundThread ( string message, NotifyType type ) : void
OnQuerySubmitted ( object sender, SearchPaneQuerySubmittedEventArgs args ) : void
PopulateScenarios ( ) : void
ProcessQueryText ( string queryText ) : void
QuickLinkSectionLabel_Tapped ( object sender, TappedRoutedEventArgs e ) : void
ReportCompleted_Click ( object sender, RoutedEventArgs e ) : void
ReportDataRetrieved_Click ( object sender, RoutedEventArgs e ) : void
ReportErrorButton_Click ( object sender, RoutedEventArgs e ) : void
ReportStarted_Click ( object sender, RoutedEventArgs e ) : void
ReportSubmittedBackgroundTask_Click ( object sender, RoutedEventArgs e ) : void
SetFeatureName ( string str ) : void

메소드 상세

LoadScenario() 공개 메소드

This method is responsible for loading the individual input and output sections for each scenario. This is based on navigating a hidden Frame to the ScenarioX.xaml page and then extracting out the input and output sections into the respective UserControl on the main page.
public LoadScenario ( Type scenarioClass ) : void
scenarioClass System.Type
리턴 void

MainPage() 공개 메소드

public MainPage ( ) : System
리턴 System

MainPage_SizeChanged() 공개 메소드

public MainPage_SizeChanged ( object sender, SizeChangedEventArgs e ) : void
sender object
e Windows.UI.Xaml.SizeChangedEventArgs
리턴 void

NotifyUser() 공개 메소드

public NotifyUser ( string strMessage, NotifyType type ) : void
strMessage string
type NotifyType
리턴 void

OnNavigatedFrom() 보호된 메소드

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
리턴 void

OnNavigatedTo() 보호된 메소드

Invoked when this page is about to be displayed in a Frame.
protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Event data that describes how this page was reached. The Parameter /// property is typically used to configure the page.
리턴 void

Scenarios_SelectionChanged() 공개 메소드

public Scenarios_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void
sender object
e Windows.UI.Xaml.Controls.SelectionChangedEventArgs
리턴 void

프로퍼티 상세

AutoSizeInputSectionWhenSnapped 공개적으로 프로퍼티

public bool AutoSizeInputSectionWhenSnapped
리턴 bool

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

public static MainPage Current
리턴 MainPage

LaunchArgs 공개적으로 프로퍼티

public Windows.ApplicationModel.Activation.LaunchActivatedEventArgs LaunchArgs
리턴 Windows.ApplicationModel.Activation.LaunchActivatedEventArgs