|
31 | 31 | </Attribute>
|
32 | 32 | </Attributes>
|
33 | 33 | <Docs>
|
34 |
| - <summary>Encapsulates a page of content that can be navigated to and hosted by Windows Internet Explorer, <see cref="T:System.Windows.Navigation.NavigationWindow" />, and <see cref="T:System.Windows.Controls.Frame" />.</summary> |
| 34 | + <summary>Encapsulates a page of content that can be navigated to and hosted by a browser, <see cref="T:System.Windows.Navigation.NavigationWindow" />, and <see cref="T:System.Windows.Controls.Frame" />.</summary> |
35 | 35 | <remarks>
|
36 | 36 | <format type="text/markdown">< and [Navigation Topologies Overview](/dotnet/framework/wpf/app-development/navigation-topologies-overview).
|
80 | 80 |
|
81 |
| - Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running. |
82 |
| - |
83 |
| - |
| 81 | + Dependency properties for this control might be set by the control's default style. If a property is set by a default style, the property might change from its default value when the control appears in the application. The default style is determined by which desktop theme is used when the application is running. |
84 | 82 |
|
85 | 83 | ## Examples
|
86 | 84 | The following example shows how a standard page is defined using only markup:
|
|
1113 | 1111 | <xref:System.Windows.Navigation.NavigationWindow> displays navigation UI by default to enable browser-style forwards and backwards navigation. If a page is set as the <xref:System.Windows.Application.StartupUri%2A>, <xref:System.Windows.Application> automatically opens a <xref:System.Windows.Navigation.NavigationWindow> to host the page in. If the page does not want to use the default <xref:System.Windows.Navigation.NavigationWindow> navigation UI, it can set <xref:System.Windows.Controls.Page.ShowsNavigationUI%2A> to `false`.
|
1114 | 1112 |
|
1115 | 1113 | > [!NOTE]
|
1116 |
| -> Because WPF does not integrate with the navigation UI for Microsoft Internet Explorer 6, it provides its own navigation UI, which can be shown or hidden by setting <xref:System.Windows.Controls.Page.ShowsNavigationUI%2A>. WPF does integrate with the Windows Internet Explorer 7 navigation UI, so setting <xref:System.Windows.Controls.Page.ShowsNavigationUI%2A> on pages in Windows Internet Explorer 7 has no effect. |
1117 |
| - |
1118 |
| - |
| 1114 | +> Because WPF does not integrate with the navigation UI for Microsoft Internet Explorer 6, it provides its own navigation UI, which can be shown or hidden by setting <xref:System.Windows.Controls.Page.ShowsNavigationUI%2A>. WPF does integrate with the Windows Internet Explorer 7 navigation UI, so setting <xref:System.Windows.Controls.Page.ShowsNavigationUI%2A> on pages in Windows Internet Explorer 7 has no effect. |
1119 | 1115 |
|
1120 | 1116 | ## Examples
|
1121 | 1117 | The following example shows how to use XAML to hide the navigation UI of a <xref:System.Windows.Navigation.NavigationWindow>.
|
|
1427 | 1423 | ## Remarks
|
1428 | 1424 | <xref:System.Windows.Controls.Page.WindowHeight%2A> is only applied when a <xref:System.Windows.Controls.Page> is hosted directly by a window, which includes:
|
1429 | 1425 |
|
1430 |
| -- <xref:System.Windows.Window> |
1431 |
| - |
1432 |
| -- <xref:System.Windows.Navigation.NavigationWindow> |
1433 |
| - |
1434 |
| -- Windows Internet Explorer |
| 1426 | +- <xref:System.Windows.Window> |
| 1427 | +- <xref:System.Windows.Navigation.NavigationWindow> |
| 1428 | +- A browser |
1435 | 1429 |
|
1436 | 1430 | If a <xref:System.Windows.Controls.Page> is hosted by a <xref:System.Windows.Controls.Frame>, setting <xref:System.Windows.Controls.Page.WindowHeight%2A> has no effect, but you can still get the value of <xref:System.Windows.Controls.Page.WindowHeight%2A>.
|
1437 | 1431 |
|
1438 |
| - A <xref:System.Windows.Controls.Page> in an XAML browser application (XBAP) can only use <xref:System.Windows.Controls.Page.WindowHeight%2A> to change the height of Windows Internet Explorer; the height cannot be changed by setting <xref:System.Windows.FrameworkElement.Height%2A>, <xref:System.Windows.FrameworkElement.MinHeight%2A>, or <xref:System.Windows.FrameworkElement.MaxHeight%2A>. |
| 1432 | + A <xref:System.Windows.Controls.Page> in an XAML browser application (XBAP) can only use <xref:System.Windows.Controls.Page.WindowHeight%2A> to change the height of the browser; the height cannot be changed by setting <xref:System.Windows.FrameworkElement.Height%2A>, <xref:System.Windows.FrameworkElement.MinHeight%2A>, or <xref:System.Windows.FrameworkElement.MaxHeight%2A>. |
| 1433 | + |
| 1434 | + For more information about XBAP support, see [Frequently asked questions about WPF browser-hosted applications (XBAP)](/dotnet/desktop/wpf/app-development/xbap-faq?view=netframeworkdesktop-4.8). |
1439 | 1435 |
|
1440 |
| - The minimum height of the Windows Internet Explorer window is 150 pixels. For browser-hosted pages, this means that the value of <xref:System.Windows.Controls.Page.WindowHeight%2A> may not be applied if it would cause the total height of the Windows Internet Explorer window to be less than 150 pixels. |
1441 |
| - |
1442 |
| - |
| 1436 | + The minimum height of the Windows Internet Explorer window is 150 pixels. For browser-hosted pages, this means that the value of <xref:System.Windows.Controls.Page.WindowHeight%2A> may not be applied if it would cause the total height of the Internet Explorer window to be less than 150 pixels. |
1443 | 1437 |
|
1444 | 1438 | ## Examples
|
1445 | 1439 | The following example shows how to set the height of a window from a page.
|
|
1546 | 1540 | ## Remarks
|
1547 | 1541 | <xref:System.Windows.Controls.Page.WindowWidth%2A> is only applied when a <xref:System.Windows.Controls.Page> is hosted directly by a window, which includes:
|
1548 | 1542 |
|
1549 |
| -- <xref:System.Windows.Window> |
1550 |
| - |
1551 |
| -- <xref:System.Windows.Navigation.NavigationWindow> |
1552 |
| - |
1553 |
| -- Windows Internet Explorer |
| 1543 | +- <xref:System.Windows.Window> |
| 1544 | +- <xref:System.Windows.Navigation.NavigationWindow> |
| 1545 | +- A browser |
1554 | 1546 |
|
1555 | 1547 | If a <xref:System.Windows.Controls.Page> is hosted by a <xref:System.Windows.Controls.Frame>, setting <xref:System.Windows.Controls.Page.WindowWidth%2A> has no effect, but you can still get the value of <xref:System.Windows.Controls.Page.WindowWidth%2A>.
|
1556 | 1548 |
|
1557 |
| - A <xref:System.Windows.Controls.Page> in an XAML browser application (XBAP) can only use <xref:System.Windows.Controls.Page.WindowWidth%2A> to change the width of Windows Internet Explorer; the width cannot be changed by setting <xref:System.Windows.FrameworkElement.Width%2A>, <xref:System.Windows.FrameworkElement.MinWidth%2A>, or <xref:System.Windows.FrameworkElement.MaxWidth%2A>. |
1558 |
| - |
1559 |
| - The minimum width of the Windows Internet Explorer window is 250 pixels. For browser-hosted pages, this means that the value of <xref:System.Windows.Controls.Page.WindowWidth%2A> may not be applied if it would cause the total width of the Windows Internet Explorer window to be less than 250 pixels. |
| 1549 | + A <xref:System.Windows.Controls.Page> in an XAML browser application (XBAP) can only use <xref:System.Windows.Controls.Page.WindowWidth%2A> to change the width of the browser; the width cannot be changed by setting <xref:System.Windows.FrameworkElement.Width%2A>, <xref:System.Windows.FrameworkElement.MinWidth%2A>, or <xref:System.Windows.FrameworkElement.MaxWidth%2A>. |
| 1550 | +
|
| 1551 | +For more information about XBAP support, see [Frequently asked questions about WPF browser-hosted applications (XBAP)](/dotnet/desktop/wpf/app-development/xbap-faq?view=netframeworkdesktop-4.8). |
1560 | 1552 |
|
1561 |
| - |
| 1553 | + The minimum width of the Windows Internet Explorer window is 250 pixels. For browser-hosted pages, this means that the value of <xref:System.Windows.Controls.Page.WindowWidth%2A> may not be applied if it would cause the total width of the Windows Internet Explorer window to be less than 250 pixels. |
1562 | 1554 |
|
1563 | 1555 | ## Examples
|
1564 | 1556 | The following example shows how to set the width of a window from a page.
|
|
0 commit comments