C# Class WinStoreGridApp.GroupedItemsPage

A page that displays a grouped collection of items.
Inheritance: WinStoreGridApp.Common.LayoutAwarePage
Datei anzeigen Open project: beginor/practice

Public Methods

Method Description
GroupedItemsPage ( ) : WinStoreGridApp.Data
Header_Click ( object sender, RoutedEventArgs e ) : void

Invoked when a group header is clicked.

ItemView_ItemClick ( object sender, ItemClickEventArgs e ) : void

Invoked when an item within a group is clicked.

Protected Methods

Method Description
LoadState ( Object navigationParameter, Object>.Dictionary pageState ) : void

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.

Method Details

GroupedItemsPage() public method

public GroupedItemsPage ( ) : WinStoreGridApp.Data
return WinStoreGridApp.Data

Header_Click() public method

Invoked when a group header is clicked.
public Header_Click ( object sender, RoutedEventArgs e ) : void
sender object The Button used as a group header for the selected group.
e Windows.UI.Xaml.RoutedEventArgs Event data that describes how the click was initiated.
return void

ItemView_ItemClick() public method

Invoked when an item within a group is clicked.
public ItemView_ItemClick ( object sender, ItemClickEventArgs e ) : void
sender object The GridView (or ListView when the application is snapped) /// displaying the item clicked.
e Windows.UI.Xaml.Controls.ItemClickEventArgs Event data that describes the item clicked.
return void

LoadState() protected method

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.
protected LoadState ( Object navigationParameter, Object>.Dictionary pageState ) : void
navigationParameter Object The parameter value passed to /// when this page was initially requested. ///
pageState Object>.Dictionary A dictionary of state preserved by this page during an earlier /// session. This will be null the first time a page is visited.
return void