C# Класс SDKTemplate.MainPage

Наследование: global::Windows.UI.Xaml.Controls.Page
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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