Method | Description | |
---|---|---|
CategorySelection ( ) : System |
Default constructor
|
|
OnFromSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void |
Handle the from list view selection event for the convert from unit list box
|
|
OnToSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void |
Handle the to list view selection event from the convert to unit list box
|
Method | Description | |
---|---|---|
OnBackKeyPress ( CancelEventArgs e ) : void |
Called when user presses back key on the page. Close the context menu if it is open else go back
|
|
OnNavigatedFrom ( System.Windows.Navigation.NavigationEventArgs e ) : void |
Called when we are leaving the page. We clear the constructorCalled flag so that we will be able to determine if we were tomb stoned or not if we receive an activation event
|
|
OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void |
Called when we have a page to navigated event This event is raised whenever we visit the page. This can occur for the following situations 1) Application Activation where we are tomb stoned, or we are still in memory If we have been tomb stoned, we need to read objects from the application service, and then perform any initialization on the restored objects. If we received and activation event, but we were not tomb stoned, then we actually don't need to do anything except clear the main application state flag and exit. This is because all objects are still in memory. 2) We have come from the main page of the application. To work around a known issue in the Pivot control related to applying templates to non default pivot items we can't set the Pivot Index in this function. We therefore save the desired pivot index and we will set this later
|
Method | Description | |
---|---|---|
ContextMenuDelete_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void |
Handler for user taps on delete context menu
|
|
DisplayPivot ( object sender, |
Background thread process to check for when we should display the pivot. This is to work around a Pivot Control known issue where we can't set the PivotIndex to any value or we get an argument null exception. If we are navigating to a pivot item that is not the default, there can be a delay in the header display animation. To make sure that the animation has completed, we will check the state of the pivotLayoutUpdate flag. If it has been set, we clear the flag and wait to see if there will be any further pivot updates. If not, we then will show the pivot control
|
|
OnCancelClick ( object sender, System e ) : void |
The user has canceled the settings. We should ignore the settings in the main page
|
|
OnDoneClick ( object sender, System e ) : void |
User wants to apply settings and have the main page of the application apply the changes
|
|
OnFavoritesSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void |
Called when a favorites selection changes
|
|
OnPivotLoaded ( object sender, |
Pivot control has been loaded
|
|
OnPivotSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void |
Event that indicates we have moved to a new pivot page
|
|
PostNavigationToInitialize ( ) : void |
Post Navigation event initialization for the page. This should be called if we are constructing the page.
|
|
pivot_LayoutUpdated ( object sender, |
Event Handler called when the pivot control is being updated. This will be called during the Header manipulation events. A flag is set to indicate that the pivot control is still updating.
|
protected OnBackKeyPress ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | Event Data |
return | void |
public OnFromSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void | ||
sender | object | The sender. |
e | System.Windows.Controls.SelectionChangedEventArgs | Event data. |
return | void |
protected OnNavigatedFrom ( System.Windows.Navigation.NavigationEventArgs e ) : void | ||
e | System.Windows.Navigation.NavigationEventArgs | Event Data |
return | void |
protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void | ||
e | System.Windows.Navigation.NavigationEventArgs | Event data. |
return | void |
public OnToSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void | ||
sender | object | The sender. |
e | System.Windows.Controls.SelectionChangedEventArgs | The instance containing the event data. |
return | void |