C# 클래스 MediaAppSample.Core.ViewModels.WebBrowserViewModel

상속: ViewModelBase
파일 보기 프로젝트 열기: Microsoft/TVHelpers

공개 메소드들

메소드 설명
BrowserGoBack ( ) : void

Navigates the web browser backwards.

BrowserGoForward ( ) : void

Navigates the web browser forward.

BrowserGoHome ( ) : void

Navigates the web browser to the home page.

BrowserRefresh ( ) : void

Refreshes the web browser.

InitialNavigation ( ) : void

Initial page that should be navigated on launch of the application.

NavigateTo ( string url ) : void

Navigate to a specific web page.

Navigated ( Uri uri, string title = null ) : void

Notify this VM that a page has been navigated to.

Navigating ( Uri uri ) : bool

Notify the VM that the browser is in the process of navigating to a particular page and offer the ability for it to cancel the navigation.

NavigationFailed ( Uri uri, Exception exception, string title = null ) : void

Notify this VM that a navigation failure has occurred.

SetBrowserFunctions ( Func canGoBack, Func canGoForward ) : void

Configure the VM to perform execute custom functions when the browser can go back/forward.

WebBrowserViewModel ( bool showNavigation = true ) : MediaAppSample.Core.Commands

보호된 메소드들

메소드 설명
ClearStatus ( ) : void

Clears any error status messagse.

OnBackNavigationRequested ( ) : bool
OnForwardNavigationRequested ( ) : bool

메소드 상세

BrowserGoBack() 공개 메소드

Navigates the web browser backwards.
public BrowserGoBack ( ) : void
리턴 void

BrowserGoForward() 공개 메소드

Navigates the web browser forward.
public BrowserGoForward ( ) : void
리턴 void

BrowserGoHome() 공개 메소드

Navigates the web browser to the home page.
public BrowserGoHome ( ) : void
리턴 void

BrowserRefresh() 공개 메소드

Refreshes the web browser.
public BrowserRefresh ( ) : void
리턴 void

ClearStatus() 보호된 메소드

Clears any error status messagse.
protected ClearStatus ( ) : void
리턴 void

InitialNavigation() 공개 메소드

Initial page that should be navigated on launch of the application.
public InitialNavigation ( ) : void
리턴 void

NavigateTo() 공개 메소드

Navigate to a specific web page.
public NavigateTo ( string url ) : void
url string URL to navigate to.
리턴 void

Navigated() 공개 메소드

Notify this VM that a page has been navigated to.
public Navigated ( Uri uri, string title = null ) : void
uri System.Uri
title string
리턴 void

Navigating() 공개 메소드

Notify the VM that the browser is in the process of navigating to a particular page and offer the ability for it to cancel the navigation.
public Navigating ( Uri uri ) : bool
uri System.Uri
리턴 bool

NavigationFailed() 공개 메소드

Notify this VM that a navigation failure has occurred.
public NavigationFailed ( Uri uri, Exception exception, string title = null ) : void
uri System.Uri
exception System.Exception
title string
리턴 void

OnBackNavigationRequested() 보호된 메소드

protected OnBackNavigationRequested ( ) : bool
리턴 bool

OnForwardNavigationRequested() 보호된 메소드

protected OnForwardNavigationRequested ( ) : bool
리턴 bool

SetBrowserFunctions() 공개 메소드

Configure the VM to perform execute custom functions when the browser can go back/forward.
public SetBrowserFunctions ( Func canGoBack, Func canGoForward ) : void
canGoBack Func
canGoForward Func
리턴 void

WebBrowserViewModel() 공개 메소드

public WebBrowserViewModel ( bool showNavigation = true ) : MediaAppSample.Core.Commands
showNavigation bool
리턴 MediaAppSample.Core.Commands