C# Класс WinRTXamlToolkit.Controls.WebBrowser

Наследование: Windows.UI.Xaml.Controls.Control
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
AutoNavigateProperty Windows.UI.Xaml.DependencyProperty
SourceProperty Windows.UI.Xaml.DependencyProperty
TitleProperty Windows.UI.Xaml.DependencyProperty

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Navigate() публичный Метод

Navigates to the specified source uri.
public Navigate ( Uri source ) : void
source System.Uri The source.
Результат void

NavigateAsync() публичный Метод

Navigates to the specified source uri asynchronously.
public NavigateAsync ( Uri source ) : System.Threading.Tasks.Task
source System.Uri The source.
Результат System.Threading.Tasks.Task

OnApplyTemplate() защищенный Метод

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
Результат void

OnSourceChanged() защищенный Метод

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
Результат void

OnTitleChanged() защищенный Метод

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
Результат void

Refresh() публичный Метод

Refreshes the current page.
public Refresh ( ) : void
Результат void

WebBrowser() публичный Метод

Initializes a new instance of the WebBrowser class.
public WebBrowser ( ) : System
Результат System

Описание свойств

AutoNavigateProperty публичное статическое свойство

AutoNavigate Dependency Property
public static DependencyProperty,Windows.UI.Xaml AutoNavigateProperty
Результат Windows.UI.Xaml.DependencyProperty

SourceProperty публичное статическое свойство

Source Dependency Property
public static DependencyProperty,Windows.UI.Xaml SourceProperty
Результат Windows.UI.Xaml.DependencyProperty

TitleProperty публичное статическое свойство

Title Dependency Property
public static DependencyProperty,Windows.UI.Xaml TitleProperty
Результат Windows.UI.Xaml.DependencyProperty