|
Vereinsmeisterschaften
22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
|
Service for handling navigation within the application. More...
Public Member Functions | |||||||
| NavigationService (IPageService pageService) | |||||||
| Constructor for the NavigationService. | |||||||
| void | Initialize (Frame shellFrame) | ||||||
Initializes the navigation service with the provided frame.
| |||||||
| void | UnsubscribeNavigation () | ||||||
| Unsubscribes from navigation events and clears the frame reference. | |||||||
| void | GoBack () | ||||||
| Goes back to the previous page in the navigation stack if possible. | |||||||
| bool | NavigateTo (string pageKey, object parameter=null, bool clearNavigation=false) | ||||||
Navigates to the specified page using its key.
| |||||||
| bool | NavigateTo< T_VM > (object parameter=null, bool clearNavigation=false) | ||||||
Navigates to the specified page using its view model type.
| |||||||
| bool | ReloadCurrent () | ||||||
Navigate to the current page again.This can be used to trigger the INavigationAware.OnNavigatedTo(object) again.
| |||||||
| void | CleanNavigation () | ||||||
| Cleans the navigation stack of the frame. | |||||||
Properties | |
| bool | CanGoBack [get] |
| True if the frame can navigate back, false otherwise. | |
| FrameworkElement | CurrentFrameContent [get] |
| Current FrameworkElement that is displayed in the Frame.Most times this is a page. | |
| object | CurrentFrameViewModel [get] |
| View model used by the CurrentFrameContent | |
Events | |
| EventHandler< string > | Navigated |
Events inherited from Vereinsmeisterschaften.Contracts.Services.INavigationService | |
| EventHandler< string > | Navigated |
| Event that is raised when navigation occured. | |
Private Member Functions | |
| void | OnNavigated (object sender, NavigationEventArgs e) |
Private Attributes | |
| readonly IPageService | _pageService |
| Frame | _frame |
| object | _lastParameterUsed |
Service for handling navigation within the application.
Definition at line 15 of file NavigationService.cs.
| Vereinsmeisterschaften.Services.NavigationService.NavigationService | ( | IPageService | pageService | ) |
Constructor for the NavigationService.
| pageService | IPageService object |
Definition at line 37 of file NavigationService.cs.
| void Vereinsmeisterschaften.Services.NavigationService.CleanNavigation | ( | ) |
Cleans the navigation stack of the frame.
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
| void Vereinsmeisterschaften.Services.NavigationService.GoBack | ( | ) |
Goes back to the previous page in the navigation stack if possible.
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
Definition at line 60 of file NavigationService.cs.
| void Vereinsmeisterschaften.Services.NavigationService.Initialize | ( | Frame | shellFrame | ) |
Initializes the navigation service with the provided frame.
| shellFrame | Use this Frame for navigation |
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
Definition at line 43 of file NavigationService.cs.
| bool Vereinsmeisterschaften.Services.NavigationService.NavigateTo | ( | string | pageKey, |
| object | parameter = null, | ||
| bool | clearNavigation = false ) |
Navigates to the specified page using its key.
| pageKey | Page key |
| parameter | Optional parameter |
| clearNavigation | True to clear the navigation |
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
Definition at line 74 of file NavigationService.cs.
| bool Vereinsmeisterschaften.Services.NavigationService.NavigateTo< T_VM > | ( | object | parameter = null, |
| bool | clearNavigation = false ) |
Navigates to the specified page using its view model type.
| parameter | Optional parameter |
| clearNavigation | True to clear the navigation |
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
Definition at line 100 of file NavigationService.cs.
|
private |
Definition at line 129 of file NavigationService.cs.
| bool Vereinsmeisterschaften.Services.NavigationService.ReloadCurrent | ( | ) |
Navigate to the current page again.This can be used to trigger the INavigationAware.OnNavigatedTo(object) again.
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
Definition at line 106 of file NavigationService.cs.
| void Vereinsmeisterschaften.Services.NavigationService.UnsubscribeNavigation | ( | ) |
Unsubscribes from navigation events and clears the frame reference.
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
Definition at line 53 of file NavigationService.cs.
|
private |
Definition at line 18 of file NavigationService.cs.
|
private |
Definition at line 19 of file NavigationService.cs.
|
private |
Definition at line 17 of file NavigationService.cs.
|
get |
True if the frame can navigate back, false otherwise.
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
Definition at line 25 of file NavigationService.cs.
|
get |
Current FrameworkElement that is displayed in the Frame.Most times this is a page.
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
Definition at line 28 of file NavigationService.cs.
|
get |
View model used by the CurrentFrameContent
Implements Vereinsmeisterschaften.Contracts.Services.INavigationService.
Definition at line 31 of file NavigationService.cs.
| EventHandler<string> Vereinsmeisterschaften.Services.NavigationService.Navigated |
Definition at line 22 of file NavigationService.cs.