The tab sequence includes all elements in the WebView content that can receive input focus.Īs indicated in the Events table, WebView doesn't support most of the user input events inherited from UIElement, such as KeyDown, KeyUp, and PointerPressed. Its position in the tab sequence is the same as its position in the XAML document order. It provides a Focus method, and GotFocus and LostFocus events, but it has no tab-related properties. You can get the title of the HTML document currently displayed in the WebView by using the DocumentTitle property.Īlthough WebView is not a Control subclass, it will receive keyboard input focus and participate in the tab sequence. To specify a color to use as the web page background when the HTML content does not specify a color, set the DefaultBackgroundColor property. To control the opacity of the WebView, set the Opacity property. To translate, scale, skew, and rotate a WebView, use the RenderTransform property. The display area is constrained by the Width and Height properties. You can set various properties to control some visual aspects of the WebView. WebView is not a Control subclass and thus does not have a control template. For alternatives, see XAML Islands - Web view controls. XAML Islands: This control is not supported in XAML Islands apps. Public sealed class WebView : FrameworkElement Public NotInheritable Class WebView Public sealed class WebView : FrameworkElement / Ĭlass WebView final : FrameworkElement /// Ĭlass WebView final : FrameworkElement In this article public ref class WebView sealed : FrameworkElement /// Provides a control that hosts HTML content in an app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |