From 7e16fecf051323f04b88cdb8cfa10b83110d3d61 Mon Sep 17 00:00:00 2001 From: dipeshmsft Date: Fri, 23 May 2025 19:17:21 +0530 Subject: [PATCH 1/3] Added docs for new MessageBox Button and Result APIs --- xml/System.Windows/MessageBoxButton.xml | 12 +++++++++--- xml/System.Windows/MessageBoxResult.xml | 20 +++++++++++++++----- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/xml/System.Windows/MessageBoxButton.xml b/xml/System.Windows/MessageBoxButton.xml index 70b996d1530..774af46f028 100644 --- a/xml/System.Windows/MessageBoxButton.xml +++ b/xml/System.Windows/MessageBoxButton.xml @@ -61,7 +61,9 @@ The value of the button that a user clicks is returned by 2 - To be added. + + The message box displays **Abort**, **Retry**, and **Ignore** buttons. + @@ -81,7 +83,9 @@ The value of the button that a user clicks is returned by 6 - To be added. + + The message box displays **Cancel**, **Retry**, and **Continue** buttons. + @@ -155,7 +159,9 @@ The value of the button that a user clicks is returned by 5 - To be added. + + The message box displays **Retry and **Cancel** buttons. + diff --git a/xml/System.Windows/MessageBoxResult.xml b/xml/System.Windows/MessageBoxResult.xml index 78efeac9c0a..8422378d857 100644 --- a/xml/System.Windows/MessageBoxResult.xml +++ b/xml/System.Windows/MessageBoxResult.xml @@ -67,7 +67,9 @@ 3 - To be added. + + The result value of the message box is **Abort** (usually sent from a button labeled Abort). + @@ -114,7 +116,9 @@ 11 - To be added. + + The result value of the message box is **Continue** (usually sent from a button labeled Continue). + @@ -134,7 +138,9 @@ 5 - To be added. + + The result value of the message box is **Ignore** (usually sent from a button labeled Ignore). + @@ -235,7 +241,9 @@ 4 - To be added. + + The result value of the message box is **Result** (usually sent from a button labeled Retry). + @@ -255,7 +263,9 @@ 10 - To be added. + + The result value of the message box is **TryAgain** (usually sent from a button labeled Try Again). + From 82593f390c18557fa09976a85ef2a328f05996cc Mon Sep 17 00:00:00 2001 From: dipeshmsft Date: Mon, 26 May 2025 11:20:40 +0530 Subject: [PATCH 2/3] Removing unnecessary para tags --- xml/System.Windows/MessageBoxButton.xml | 12 +++--------- xml/System.Windows/MessageBoxResult.xml | 20 +++++--------------- 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/xml/System.Windows/MessageBoxButton.xml b/xml/System.Windows/MessageBoxButton.xml index 774af46f028..cf71130564d 100644 --- a/xml/System.Windows/MessageBoxButton.xml +++ b/xml/System.Windows/MessageBoxButton.xml @@ -61,9 +61,7 @@ The value of the button that a user clicks is returned by 2 - - The message box displays **Abort**, **Retry**, and **Ignore** buttons. - + The message box displays **Abort**, **Retry**, and **Ignore** buttons. @@ -83,9 +81,7 @@ The value of the button that a user clicks is returned by 6 - - The message box displays **Cancel**, **Retry**, and **Continue** buttons. - + The message box displays **Cancel**, **Retry**, and **Continue** buttons. @@ -159,9 +155,7 @@ The value of the button that a user clicks is returned by 5 - - The message box displays **Retry and **Cancel** buttons. - + The message box displays **Retry and **Cancel** buttons. diff --git a/xml/System.Windows/MessageBoxResult.xml b/xml/System.Windows/MessageBoxResult.xml index 8422378d857..db4e3bd52c3 100644 --- a/xml/System.Windows/MessageBoxResult.xml +++ b/xml/System.Windows/MessageBoxResult.xml @@ -67,9 +67,7 @@ 3 - - The result value of the message box is **Abort** (usually sent from a button labeled Abort). - + The result value of the message box is **Abort** (usually sent from a button labeled Abort). @@ -116,9 +114,7 @@ 11 - - The result value of the message box is **Continue** (usually sent from a button labeled Continue). - + The result value of the message box is **Continue** (usually sent from a button labeled Continue). @@ -138,9 +134,7 @@ 5 - - The result value of the message box is **Ignore** (usually sent from a button labeled Ignore). - + The result value of the message box is **Ignore** (usually sent from a button labeled Ignore). @@ -241,9 +235,7 @@ 4 - - The result value of the message box is **Result** (usually sent from a button labeled Retry). - + The result value of the message box is **Result** (usually sent from a button labeled Retry). @@ -263,9 +255,7 @@ 10 - - The result value of the message box is **TryAgain** (usually sent from a button labeled Try Again). - + The result value of the message box is **TryAgain** (usually sent from a button labeled Try Again). From c7dd46e80341997b24161ad6ba2ec44e42b8ad64 Mon Sep 17 00:00:00 2001 From: dipeshmsft Date: Tue, 3 Jun 2025 13:23:47 +0530 Subject: [PATCH 3/3] Addressing PR Review Comments --- xml/System.Windows/MessageBoxResult.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Windows/MessageBoxResult.xml b/xml/System.Windows/MessageBoxResult.xml index db4e3bd52c3..9332adfcc3e 100644 --- a/xml/System.Windows/MessageBoxResult.xml +++ b/xml/System.Windows/MessageBoxResult.xml @@ -235,7 +235,7 @@ 4 - The result value of the message box is **Result** (usually sent from a button labeled Retry). + The result value of the message box is **Retry** (usually sent from a button labeled Retry).