Skip to content

Commit d5bc916

Browse files
authored
import UWP content from IntelliSense - part 2 (#2474)
* import UWP content from IntelliSense * minor edits * Apply suggestions from peer review Co-Authored-By: Ron Petrusha <[email protected]> * add cref link
1 parent 7bfd158 commit d5bc916

File tree

5 files changed

+88
-88
lines changed

5 files changed

+88
-88
lines changed

xml/Windows.UI.Xaml.Automation/ElementNotAvailableException.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</Attribute>
2121
</Attributes>
2222
<Docs>
23-
<summary>To be added.</summary>
23+
<summary>The exception that is thrown when an attempt is made to access a UI automation element corresponding to a part of the user interface that is no longer available.</summary>
2424
<remarks>To be added.</remarks>
2525
</Docs>
2626
<Members>
@@ -38,7 +38,7 @@
3838
</AssemblyInfo>
3939
<Parameters />
4040
<Docs>
41-
<summary>To be added.</summary>
41+
<summary>Initializes a new instance of the <see cref="T:Windows.UI.Xaml.Automation.ElementNotAvailableException" /> class with default values. </summary>
4242
<remarks>To be added.</remarks>
4343
</Docs>
4444
</Member>
@@ -59,8 +59,8 @@
5959
<Parameter Name="message" Type="System.String" />
6060
</Parameters>
6161
<Docs>
62-
<param name="message">To be added.</param>
63-
<summary>To be added.</summary>
62+
<param name="message">The message that describes the error. </param>
63+
<summary>Initializes a new instance of the <see cref="T:Windows.UI.Xaml.Automation.ElementNotAvailableException" /> class with a specified error message. </summary>
6464
<remarks>To be added.</remarks>
6565
</Docs>
6666
</Member>
@@ -82,11 +82,11 @@
8282
<Parameter Name="innerException" Type="System.Exception" />
8383
</Parameters>
8484
<Docs>
85-
<param name="message">To be added.</param>
86-
<param name="innerException">To be added.</param>
87-
<summary>To be added.</summary>
85+
<param name="message">The message that describes the error. </param>
86+
<param name="innerException">The exception that is the cause of the current exception, or null if no inner exception is specified. </param>
87+
<summary>Initializes a new instance of the <see cref="T:Windows.UI.Xaml.Automation.ElementNotAvailableException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception. </summary>
8888
<remarks>To be added.</remarks>
8989
</Docs>
9090
</Member>
9191
</Members>
92-
</Type>
92+
</Type>

xml/Windows.UI.Xaml.Automation/ElementNotEnabledException.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</Attribute>
2121
</Attributes>
2222
<Docs>
23-
<summary>To be added.</summary>
23+
<summary>The exception that is thrown when an attempt is made through UI automation to manipulate a control that is not enabled. </summary>
2424
<remarks>To be added.</remarks>
2525
</Docs>
2626
<Members>
@@ -38,7 +38,7 @@
3838
</AssemblyInfo>
3939
<Parameters />
4040
<Docs>
41-
<summary>To be added.</summary>
41+
<summary>Initializes a new instance of the <see cref="T:Windows.UI.Xaml.Automation.ElementNotEnabledException" /> class with default values. </summary>
4242
<remarks>To be added.</remarks>
4343
</Docs>
4444
</Member>
@@ -59,8 +59,8 @@
5959
<Parameter Name="message" Type="System.String" />
6060
</Parameters>
6161
<Docs>
62-
<param name="message">To be added.</param>
63-
<summary>To be added.</summary>
62+
<param name="message">The message that describes the error. </param>
63+
<summary>Initializes a new instance of the <see cref="T:Windows.UI.Xaml.Automation.ElementNotEnabledException" /> class with a specified error message.</summary>
6464
<remarks>To be added.</remarks>
6565
</Docs>
6666
</Member>
@@ -82,9 +82,9 @@
8282
<Parameter Name="innerException" Type="System.Exception" />
8383
</Parameters>
8484
<Docs>
85-
<param name="message">To be added.</param>
86-
<param name="innerException">To be added.</param>
87-
<summary>To be added.</summary>
85+
<param name="message">The message that describes the error. </param>
86+
<param name="innerException">The exception that is the cause of the current exception, or null if no inner exception is specified. </param>
87+
<summary>Initializes a new instance of the <see cref="T:Windows.UI.Xaml.Automation.ElementNotEnabledException" /> class, with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
8888
<remarks>To be added.</remarks>
8989
</Docs>
9090
</Member>

xml/Windows.UI.Xaml.Controls.Primitives/GeneratorPosition.xml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</Attribute>
2121
</Attributes>
2222
<Docs>
23-
<summary>To be added.</summary>
23+
<summary>Describes the position of an item that is managed by <see cref="T:Windows.UI.Xaml.Controls.ItemContainerGenerator" />.</summary>
2424
<remarks>To be added.</remarks>
2525
</Docs>
2626
<Members>
@@ -42,9 +42,9 @@
4242
<Parameter Name="offset" Type="System.Int32" />
4343
</Parameters>
4444
<Docs>
45-
<param name="index">To be added.</param>
46-
<param name="offset">To be added.</param>
47-
<summary>To be added.</summary>
45+
<param name="index">An index that is relative to the generated (realized) items. -1 is a special value that refers to a fictitious item at the beginning or the end of the items list.</param>
46+
<param name="offset">An offset that is relative to the ungenerated (unrealized) items near the indexed item. An offset of 0 refers to the indexed element itself, an offset of 1 refers to the next ungenerated (unrealized) item, and an offset of -1 refers to the previous item.</param>
47+
<summary>Initializes a new instance of <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" /> with the specified index and offset.</summary>
4848
<remarks>To be added.</remarks>
4949
</Docs>
5050
</Member>
@@ -73,9 +73,9 @@
7373
<Parameter Name="o" Type="System.Object" />
7474
</Parameters>
7575
<Docs>
76-
<param name="o">To be added.</param>
77-
<summary>To be added.</summary>
78-
<returns>To be added.</returns>
76+
<param name="o">The <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" /> instance to compare.</param>
77+
<summary>Compares the specified instance and the current instance of <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" /> for value equality.</summary>
78+
<returns><see langword="true" /> if <paramref name="o" /> and this instance of <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" /> have the same values.</returns>
7979
<remarks>To be added.</remarks>
8080
</Docs>
8181
</Member>
@@ -102,8 +102,8 @@
102102
</ReturnValue>
103103
<Parameters />
104104
<Docs>
105-
<summary>To be added.</summary>
106-
<returns>To be added.</returns>
105+
<summary>Returns the hash code for this <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" />.</summary>
106+
<returns>The hash code for this <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" />.</returns>
107107
<remarks>To be added.</remarks>
108108
</Docs>
109109
</Member>
@@ -124,8 +124,8 @@
124124
<ReturnType>System.Int32</ReturnType>
125125
</ReturnValue>
126126
<Docs>
127-
<summary>To be added.</summary>
128-
<value>To be added.</value>
127+
<summary>Gets or sets the index that is relative to the generated (realized) items.</summary>
128+
<value>The index that is relative to the generated (realized) items.</value>
129129
<remarks>To be added.</remarks>
130130
</Docs>
131131
</Member>
@@ -146,8 +146,8 @@
146146
<ReturnType>System.Int32</ReturnType>
147147
</ReturnValue>
148148
<Docs>
149-
<summary>To be added.</summary>
150-
<value>To be added.</value>
149+
<summary>Gets or sets the offset that is relative to the ungenerated (unrealized) items near the indexed item.</summary>
150+
<value>The offset that is relative to the ungenerated (unrealized) items near the indexed item.</value>
151151
<remarks>To be added.</remarks>
152152
</Docs>
153153
</Member>
@@ -172,10 +172,10 @@
172172
<Parameter Name="gp2" Type="Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" />
173173
</Parameters>
174174
<Docs>
175-
<param name="gp1">To be added.</param>
176-
<param name="gp2">To be added.</param>
177-
<summary>To be added.</summary>
178-
<returns>To be added.</returns>
175+
<param name="gp1">The first instance to compare.</param>
176+
<param name="gp2">The second instance to compare.</param>
177+
<summary>Compares two <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" /> objects for value equality.</summary>
178+
<returns><see langword="true" /> if the two objects are equal; otherwise, <see langword="false" />.</returns>
179179
<remarks>To be added.</remarks>
180180
</Docs>
181181
</Member>
@@ -200,10 +200,10 @@
200200
<Parameter Name="gp2" Type="Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" />
201201
</Parameters>
202202
<Docs>
203-
<param name="gp1">To be added.</param>
204-
<param name="gp2">To be added.</param>
205-
<summary>To be added.</summary>
206-
<returns>To be added.</returns>
203+
<param name="gp1">The first instance to compare.</param>
204+
<param name="gp2">The second instance to compare.</param>
205+
<summary>Compares two <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" /> objects for value inequality.</summary>
206+
<returns><see langword="true" /> if the values are not equal; otherwise, <see langword="false" />.</returns>
207207
<remarks>To be added.</remarks>
208208
</Docs>
209209
</Member>
@@ -230,10 +230,10 @@
230230
</ReturnValue>
231231
<Parameters />
232232
<Docs>
233-
<summary>To be added.</summary>
234-
<returns>To be added.</returns>
233+
<summary>Returns a string representation of this instance of <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" />.</summary>
234+
<returns>A string representation of this instance of <see cref="T:Windows.UI.Xaml.Controls.Primitives.GeneratorPosition" />.</returns>
235235
<remarks>To be added.</remarks>
236236
</Docs>
237237
</Member>
238238
</Members>
239-
</Type>
239+
</Type>

xml/Windows.UI.Xaml.Markup/XamlParseException.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</Attribute>
2121
</Attributes>
2222
<Docs>
23-
<summary>To be added.</summary>
23+
<summary>The exception that is thrown when an error occurs while parsing XAML.</summary>
2424
<remarks>To be added.</remarks>
2525
</Docs>
2626
<Members>
@@ -38,7 +38,7 @@
3838
</AssemblyInfo>
3939
<Parameters />
4040
<Docs>
41-
<summary>To be added.</summary>
41+
<summary>Initializes a new instance of the <see cref="T:Windows.UI.Xaml.Markup.XamlParseException" /> class with default values.</summary>
4242
<remarks>To be added.</remarks>
4343
</Docs>
4444
</Member>
@@ -59,8 +59,8 @@
5959
<Parameter Name="message" Type="System.String" />
6060
</Parameters>
6161
<Docs>
62-
<param name="message">To be added.</param>
63-
<summary>To be added.</summary>
62+
<param name="message">The error message that explains the reason for the exception.</param>
63+
<summary>Initializes a new instance of the <see cref="T:Windows.UI.Xaml.Markup.XamlParseException" /> class with a specified error message.</summary>
6464
<remarks>To be added.</remarks>
6565
</Docs>
6666
</Member>
@@ -82,11 +82,11 @@
8282
<Parameter Name="innerException" Type="System.Exception" />
8383
</Parameters>
8484
<Docs>
85-
<param name="message">To be added.</param>
86-
<param name="innerException">To be added.</param>
87-
<summary>To be added.</summary>
85+
<param name="message">The error message that explains the reason for the exception.</param>
86+
<param name="innerException">The exception that is the cause of the current exception, or <see langword="null" /> if no inner exception is specified.</param>
87+
<summary>Initializes a new instance of the <see cref="T:Windows.UI.Xaml.Markup.XamlParseException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
8888
<remarks>To be added.</remarks>
8989
</Docs>
9090
</Member>
9191
</Members>
92-
</Type>
92+
</Type>

0 commit comments

Comments
 (0)