Skip to content

Commit 6ae1ef5

Browse files
authored
Updated Window.xml file
Updated the missing line in the important block for the Window.Owner property doc
1 parent b3c5df3 commit 6ae1ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Windows/Window.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ The following example shows a **File** > **Exit** menu being handled to explicit
19111911
When you open a child window by calling <xref:System.Windows.Window.ShowDialog%2A>, you should also set the <xref:System.Windows.Window.Owner%2A> property of the child window. If you don't, then your users won't be able to restore both child window and parent window by pressing the task bar button. Instead, pressing the task bar button will yield a list of windows, including both child and parent window, for them to select; only the selected window is restored.
19121912
19131913
> [!IMPORTANT]
1914-
> You should also set the <xref:System.Windows.Window.Owner%2A> property on a window that is opened by calling <xref:System.Windows.Window.ShowDialog%2A> to ensure correct behavior with .
1914+
> You should also set the <xref:System.Windows.Window.Owner%2A> property on a window that is opened by calling <xref:System.Windows.Window.ShowDialog%2A> to ensure correct behavior with the owned window.
19151915
19161916
> [!NOTE]
19171917
> You cannot set or get this property when a window is hosted in a browser.

0 commit comments

Comments
 (0)