C# Class AppStore.SearchPage

This class deals with displaying Search Results according to the search query.
Inheritance: Windows.UI.Xaml.Controls.Page
Datei anzeigen Open project: BuildmLearn/BuildmLearn-Store

Public Methods

Method Description
SearchPage ( ) : AppStore.Common

Public Constructor for SearchPage

Protected Methods

Method 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 SaveState 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

Method Description
About_Click ( object sender, RoutedEventArgs e ) : void

Executed when the About Button is tapped from the Application bar.

Categories_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Categories Button is tapped from the Application bar.

Connect ( int connectionId, object target ) : void
Feedback_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Feedback Button is tapped from the Application bar.

GridFeaturedApps_ContentChanging ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Deals with populating apps in the Serach result section.

GridFeaturedApps_SelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Executed when the user selects/taps on an app. The app navigates to the Details page of the app.

Home_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Home Button is tapped from the Application bar.

InitializeComponent ( ) : void
InstallButton_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Install Button is tapped when an app is long tapped.

MyApps_Click ( object sender, RoutedEventArgs e ) : void

Executed when the My-Apps Button is tapped from the Application bar.

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.

Search_TextChanged ( object sender, TextChangedEventArgs e ) : void

Executed when the content in the Search Bar is changed.

Settings_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Settings Button is tapped from the Application bar.

ShareButton_Click ( object sender, RoutedEventArgs e ) : void

Executed when the Share button is tapped from the Application bar.

ShowImage ( ListViewBase sender, ContainerContentChangingEventArgs args ) : void

Deals with populating images(app icons) in the apps of the Search Results.

StackPanel_Holding ( object sender, HoldingRoutedEventArgs e ) : void

Executed when the app is tapped for a long time triggering the holding event.

Method Details

OnNavigatedFrom() protected method

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 SaveState 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.
return void

OnNavigatedTo() protected method

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.
return void

SearchPage() public method

Public Constructor for SearchPage
public SearchPage ( ) : AppStore.Common
return AppStore.Common