C# Class WinRTXamlToolkit.Controls.WebBrowser

Inheritance: Windows.UI.Xaml.Controls.Control
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Свойство Type Description
AutoNavigateProperty Windows.UI.Xaml.DependencyProperty
SourceProperty Windows.UI.Xaml.DependencyProperty
TitleProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

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

NavigateAsync() public méthode

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

OnApplyTemplate() protected méthode

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
Résultat void

OnSourceChanged() protected méthode

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
Résultat void

OnTitleChanged() protected méthode

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
Résultat void

Refresh() public méthode

Refreshes the current page.
public Refresh ( ) : void
Résultat void

WebBrowser() public méthode

Initializes a new instance of the WebBrowser class.
public WebBrowser ( ) : System
Résultat System

Property Details

AutoNavigateProperty public_oe static_oe property

AutoNavigate Dependency Property
public static DependencyProperty,Windows.UI.Xaml AutoNavigateProperty
Résultat Windows.UI.Xaml.DependencyProperty

SourceProperty public_oe static_oe property

Source Dependency Property
public static DependencyProperty,Windows.UI.Xaml SourceProperty
Résultat Windows.UI.Xaml.DependencyProperty

TitleProperty public_oe static_oe property

Title Dependency Property
public static DependencyProperty,Windows.UI.Xaml TitleProperty
Résultat Windows.UI.Xaml.DependencyProperty