C# Class WinRTXamlToolkit.Controls.WebBrowser

Inheritance: Windows.UI.Xaml.Controls.Control
Mostrar archivo Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
AutoNavigateProperty Windows.UI.Xaml.DependencyProperty
SourceProperty Windows.UI.Xaml.DependencyProperty
TitleProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Navigate ( Uri source ) : void

Navigates to the specified source uri.

NavigateAsync ( Uri source ) : System.Threading.Tasks.Task

Navigates to the specified source uri asynchronously.

Refresh ( ) : void

Refreshes the current page.

WebBrowser ( ) : System

Initializes a new instance of the WebBrowser class.

Protected Methods

Method Description
OnApplyTemplate ( ) : void

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

OnSourceChanged ( Uri oldSource, Uri newSource ) : void

Provides derived classes an opportunity to handle changes to the Source property.

OnTitleChanged ( string oldTitle, string newTitle ) : void

Provides derived classes an opportunity to handle changes to the Title property.

Private Methods

Method Description
OnAddressBarGotFocus ( object sender, RoutedEventArgs e ) : void
OnAddressBarKeyDown ( object sender, KeyRoutedEventArgs e ) : void
OnAddressBarKeyUp ( object sender, KeyRoutedEventArgs e ) : void
OnAddressBarLostFocus ( object sender, RoutedEventArgs e ) : void
OnAddressBarTextChanged ( object sender, TextChangedEventArgs e ) : void
OnAppBarOpenedOrClosed ( object sender, object e ) : void
OnAutoNavigateChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the AutoNavigate property.

OnAutoNavigateChanged ( bool oldAutoNavigate, bool newAutoNavigate ) : void

Provides derived classes an opportunity to handle changes to the AutoNavigate property.

OnBackButtonClick ( object sender, RoutedEventArgs e ) : void
OnForwardButtonClick ( object sender, RoutedEventArgs e ) : void
OnGoButtonClick ( object sender, RoutedEventArgs e ) : void
OnNavigationCompleted ( WebView sender, WebViewNavigationCompletedEventArgs e ) : void
OnNavigationFailed ( WebErrorStatus webErrorStatus ) : void
OnNavigationSucceeded ( ) : void
OnRefreshButtonClick ( object sender, RoutedEventArgs e ) : void
OnSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Source property.

OnStopButtonClick ( object sender, RoutedEventArgs e ) : void
OnTitleChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Title property.

UpdateBackStackKeys ( ) : void

Method Details

Navigate() public method

Navigates to the specified source uri.
public Navigate ( Uri source ) : void
source System.Uri The source.
return void

NavigateAsync() public method

Navigates to the specified source uri asynchronously.
public NavigateAsync ( Uri source ) : System.Threading.Tasks.Task
source System.Uri The source.
return System.Threading.Tasks.Task

OnApplyTemplate() protected method

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected OnApplyTemplate ( ) : void
return void

OnSourceChanged() protected method

Provides derived classes an opportunity to handle changes to the Source property.
protected OnSourceChanged ( Uri oldSource, Uri newSource ) : void
oldSource System.Uri The old Source value
newSource System.Uri The new Source value
return void

OnTitleChanged() protected method

Provides derived classes an opportunity to handle changes to the Title property.
protected OnTitleChanged ( string oldTitle, string newTitle ) : void
oldTitle string The old Title value
newTitle string The new Title value
return void

Refresh() public method

Refreshes the current page.
public Refresh ( ) : void
return void

WebBrowser() public method

Initializes a new instance of the WebBrowser class.
public WebBrowser ( ) : System
return System

Property Details

AutoNavigateProperty public_oe static_oe property

AutoNavigate Dependency Property
public static DependencyProperty,Windows.UI.Xaml AutoNavigateProperty
return Windows.UI.Xaml.DependencyProperty

SourceProperty public_oe static_oe property

Source Dependency Property
public static DependencyProperty,Windows.UI.Xaml SourceProperty
return Windows.UI.Xaml.DependencyProperty

TitleProperty public_oe static_oe property

Title Dependency Property
public static DependencyProperty,Windows.UI.Xaml TitleProperty
return Windows.UI.Xaml.DependencyProperty