C# Class Caliburn.Micro.FrameAdapter

A basic implementation of INavigationService designed to adapt the Frame control.
Inheritance: INavigationService
Afficher le fichier Open project: dbuksbaum/Learning-Caliburn.Micro Class Usage Examples

Méthodes publiques

Méthode Description
FrameAdapter ( Frame frame ) : System

Creates an instance of FrameAdapter

GoBack ( ) : void

Navigates back.

GoForward ( ) : void

Navigates forward.

Navigate ( Uri source ) : bool

Navigates to the specified Uri.

StopLoading ( ) : void

Stops the loading process.

Méthodes protégées

Méthode Description
OnNavigated ( object sender, NavigationEventArgs e ) : void

Occurs after navigation

OnNavigating ( object sender, NavigatingCancelEventArgs e ) : void

Occurs before navigation

TryInjectQueryString ( object viewModel, object view ) : void

Attempts to inject query string parameters from the view into the view model.

Method Details

FrameAdapter() public méthode

Creates an instance of FrameAdapter
public FrameAdapter ( Frame frame ) : System
frame Windows.UI.Xaml.Controls.Frame The frame to represent as a .
Résultat System

GoBack() public méthode

Navigates back.
public GoBack ( ) : void
Résultat void

GoForward() public méthode

Navigates forward.
public GoForward ( ) : void
Résultat void

Navigate() public méthode

Navigates to the specified Uri.
public Navigate ( Uri source ) : bool
source Uri The to navigate to.
Résultat bool

OnNavigated() protected méthode

Occurs after navigation
protected OnNavigated ( object sender, NavigationEventArgs e ) : void
sender object The event sender.
e Windows.UI.Xaml.Navigation.NavigationEventArgs The event args.
Résultat void

OnNavigating() protected méthode

Occurs before navigation
protected OnNavigating ( object sender, NavigatingCancelEventArgs e ) : void
sender object The event sender.
e Windows.UI.Xaml.Navigation.NavigatingCancelEventArgs The event args.
Résultat void

StopLoading() public méthode

Stops the loading process.
public StopLoading ( ) : void
Résultat void

TryInjectQueryString() protected méthode

Attempts to inject query string parameters from the view into the view model.
protected TryInjectQueryString ( object viewModel, object view ) : void
viewModel object The view model.
view object The view.
Résultat void