C# Class SDKTemplate.MainPage

Inheritance: global::Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: jkuemerle/CodeMash2013 Class Usage Examples

Méthodes publiques

Свойство Type Description
AutoSizeInputSectionWhenSnapped bool
Current MainPage
LaunchArgs Windows.ApplicationModel.Activation.LaunchActivatedEventArgs

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
OnNavigatedFrom ( NavigationEventArgs e ) : void
OnNavigatedTo ( NavigationEventArgs e ) : void

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

Private Methods

Méthode Description
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

Method Details

LoadScenario() public méthode

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
Résultat void

MainPage() public méthode

public MainPage ( ) : System
Résultat System

MainPage_SizeChanged() public méthode

public MainPage_SizeChanged ( object sender, SizeChangedEventArgs e ) : void
sender object
e Windows.UI.Xaml.SizeChangedEventArgs
Résultat void

NotifyUser() public méthode

public NotifyUser ( string strMessage, NotifyType type ) : void
strMessage string
type NotifyType
Résultat void

OnNavigatedFrom() protected méthode

protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
Résultat void

OnNavigatedTo() protected méthode

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.
Résultat void

Scenarios_SelectionChanged() public méthode

public Scenarios_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void
sender object
e Windows.UI.Xaml.Controls.SelectionChangedEventArgs
Résultat void

Property Details

AutoSizeInputSectionWhenSnapped public_oe property

public bool AutoSizeInputSectionWhenSnapped
Résultat bool

Current public_oe static_oe property

public static MainPage Current
Résultat MainPage

LaunchArgs public_oe property

public Windows.ApplicationModel.Activation.LaunchActivatedEventArgs LaunchArgs
Résultat Windows.ApplicationModel.Activation.LaunchActivatedEventArgs