diff --git a/xml/System.Windows.Annotations.Storage/AnnotationStore.xml b/xml/System.Windows.Annotations.Storage/AnnotationStore.xml
index 128243765f7..78ba80255f5 100644
--- a/xml/System.Windows.Annotations.Storage/AnnotationStore.xml
+++ b/xml/System.Windows.Annotations.Storage/AnnotationStore.xml
@@ -88,7 +88,7 @@
is added to the store its globally unique identifier (GUID) property is set to a new value. When is called, its property is checked to see if the already has been added to the store. If the already has been added and exists in the store (as determined by its property) an error is thrown.
+ When a new is added to the store its globally unique identifier (GUID) property is set to a new value. When is called, its property is checked to see if the already has been added to the store. If the already has been added and exists in the store (as determined by its property) an error is thrown.
]]>
@@ -130,7 +130,7 @@
event can be used to monitor changes to the annotation contained in the store without the need to register on each individually.
+ The event can be used to monitor changes to the annotation contained in the store without the need to register on each individually.
]]>
@@ -173,7 +173,7 @@
event can be used to monitor changes to the annotation contained in the store without the need to register on each individually.
+ The event can be used to monitor changes to the annotation contained in the store without the need to register on each individually.
]]>
@@ -217,9 +217,9 @@
to `false` and call directly when appropriate.
+ Applications that use an explicit-save model can set to `false` and call directly when appropriate.
- Applications that use an implicit-save model can set to `true` to cause to be called automatically after every store operation (add, delete, or modify).
+ Applications that use an implicit-save model can set to `true` to cause to be called automatically after every store operation (add, delete, or modify).
]]>
@@ -256,7 +256,7 @@
event can be used to monitor changes to the annotation contained in the store without the need to register on each individually.
+ The event can be used to monitor changes to the annotation contained in the store without the need to register on each individually.
]]>
@@ -303,7 +303,7 @@
and methods.
+ The following example shows use of the and methods.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/ThumbViewer.cs" id="Snippetdocserdelete":::
@@ -359,12 +359,12 @@
when finished with the . After calling the application can release all references to the to allow the garbage collector to reclaim the memory that the was occupying. For more information, see [Cleaning Up Unmanaged Resources](/dotnet/standard/garbage-collection/unmanaged) and [Implementing a Dispose Method](/dotnet/standard/garbage-collection/implementing-dispose).
+ Applications should call when finished with the . After calling the application can release all references to the to allow the garbage collector to reclaim the memory that the was occupying. For more information, see [Cleaning Up Unmanaged Resources](/dotnet/standard/garbage-collection/unmanaged) and [Implementing a Dispose Method](/dotnet/standard/garbage-collection/implementing-dispose).
- The public method calls the protected `(Boolean)` method with the `disposing` parameter of `true` to release all managed and unmanaged resources.
+ The public method calls the protected `(Boolean)` method with the `disposing` parameter of `true` to release all managed and unmanaged resources.
> [!NOTE]
-> Call before the last reference to the is released. If is not called, resources will not be freed until the garbage collector calls the store's method.
+> Call before the last reference to the is released. If is not called, resources will not be freed until the garbage collector calls the store's method.
]]>
@@ -405,9 +405,9 @@
method is called by the public and methods. The public invokes the protected `(Boolean)` method with the `disposing` parameter set to `true`. invokes with `disposing` set to `false`.
+ This protected method is called by the public and methods. The public invokes the protected `(Boolean)` method with the `disposing` parameter set to `true`. invokes with `disposing` set to `false`.
- When the `disposing` parameter is `true`, releases all resources held by any managed objects that the references. also invokes the `Dispose()` method of each referenced object.
+ When the `disposing` parameter is `true`, releases all resources held by any managed objects that the references. also invokes the `Dispose()` method of each referenced object.
]]>
@@ -449,7 +449,7 @@
method. The application program should not call directly. is automatically invoked during garbage collection unless disabled by a call to the method.
+ This method overrides base method. The application program should not call directly. is automatically invoked during garbage collection unless disabled by a call to the method.
For more information, see [Finalize Methods and Destructors](https://learn.microsoft.com/previous-versions/dotnet/netframework-4.0/0s71x931(v%3dvs.100)), [Cleaning Up Unmanaged Resources](/dotnet/standard/garbage-collection/unmanaged), and [Overriding the Finalize Method](https://learn.microsoft.com/previous-versions/dotnet/netframework-4.0/ddae83kx(v=vs.100)).
@@ -487,19 +487,19 @@
to `false` and call directly when appropriate.
+ Applications that use an explicit-save model can set to `false` and call directly when appropriate.
- Applications that use an implicit-save model can set the to `true` to cause to be called automatically after every store operation (add, delete, or modify).
+ Applications that use an implicit-save model can set the to `true` to cause to be called automatically after every store operation (add, delete, or modify).
## Examples
- The following example shows how to use the method when the application closes the .
+ The following example shows how to use the method when the application closes the .
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/AnnotationsHelperXps.cs" id="Snippetstopannotations":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/annotationshelperxps.vb" id="Snippetstopannotations":::
- The following example shows use of the and methods.
+ The following example shows use of the and methods.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/ThumbViewer.cs" id="Snippetdocserdelete":::
@@ -558,7 +558,7 @@
method to determine if there are any annotations contained in the store.
+ The following example shows how to use the method to determine if there are any annotations contained in the store.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/ThumbViewer.cs" id="Snippetdocserclosefile":::
@@ -598,7 +598,7 @@
method to determine if there are any annotations contained in the store.
+ The following example shows how to use the method to determine if there are any annotations contained in the store.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/ThumbViewer.cs" id="Snippetdocserclosefile":::
@@ -644,7 +644,7 @@
method internally uses the method of the class to search and match for the annotations to return.
+ This method internally uses the method of the class to search and match for the annotations to return.
]]>
diff --git a/xml/System.Windows.Annotations.Storage/StoreContentChangedEventArgs.xml b/xml/System.Windows.Annotations.Storage/StoreContentChangedEventArgs.xml
index 4c9b098fd72..406e5b0387b 100644
--- a/xml/System.Windows.Annotations.Storage/StoreContentChangedEventArgs.xml
+++ b/xml/System.Windows.Annotations.Storage/StoreContentChangedEventArgs.xml
@@ -27,7 +27,7 @@
data includes the associated with the event and the of or .
+ The data includes the associated with the event and the of or .
]]>
@@ -146,7 +146,7 @@
is specified by the property.
+ The operation performed with the is specified by the property.
]]>
diff --git a/xml/System.Windows.Annotations.Storage/XmlStreamStore.xml b/xml/System.Windows.Annotations.Storage/XmlStreamStore.xml
index 564c947d5eb..63249517513 100644
--- a/xml/System.Windows.Annotations.Storage/XmlStreamStore.xml
+++ b/xml/System.Windows.Annotations.Storage/XmlStreamStore.xml
@@ -105,7 +105,7 @@
constructor enables the registration of application-specific known namespaces.
+ This constructor enables the registration of application-specific known namespaces.
The `knownNamespace` dictionary defines application namespaces that are used when you store custom content as part of an annotation. The dictionary key is the primary namespace known to the application program. The namespace key is associated with a value list of older namespaces that are compatible with the "key" namespace. When annotations are loaded all namespaces from this list will be replaced by the "key" namespace.
@@ -157,7 +157,7 @@
is called, the of the is checked to see whether the already has been added to the store. If the already has been added and is in the store an error is thrown.
+ When is called, the of the is checked to see whether the already has been added to the store. If the already has been added and is in the store an error is thrown.
]]>
@@ -235,7 +235,7 @@
and methods.
+ The following example shows use of the and methods.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/ThumbViewer.cs" id="Snippetdocserdelete":::
@@ -311,12 +311,12 @@
method when the application closes the .
+ The following example shows how to use the method when the application closes the .
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/AnnotationsHelperXps.cs" id="Snippetstopannotations":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/annotationshelperxps.vb" id="Snippetstopannotations":::
- The following example shows use of the and methods.
+ The following example shows use of the and methods.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/ThumbViewer.cs" id="Snippetdocserdelete":::
@@ -377,7 +377,7 @@
method to determine whether there are any annotations contained in the store.
+ The following example shows how to use the method to determine whether there are any annotations contained in the store.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/ThumbViewer.cs" id="Snippetdocserclosefile":::
@@ -417,12 +417,12 @@
method will never return `null`; however the list may be empty if the store contains no annotations.
+ The method will never return `null`; however the list may be empty if the store contains no annotations.
## Examples
- The following example shows how to use the method to determine whether there are any annotations in the store.
+ The following example shows how to use the method to determine whether there are any annotations in the store.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/ThumbViewer.cs" id="Snippetdocserclosefile":::
@@ -468,12 +468,12 @@
method internally uses the method of the class to search and match for the annotations to return.
+ This method internally uses the method of the class to search and match for the annotations to return.
## Examples
- The following example shows how to use the method to determine whether there are any annotations in the store.
+ The following example shows how to use the method to determine whether there are any annotations in the store.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations.Storage/AnnotationStore/DeleteAnnotation/ThumbViewer.cs" id="Snippetdocserclosefile":::
@@ -517,7 +517,7 @@
will return `null`, even those namespaces registered through the `knownNamespaces` parameter of the constructor.
+ The `name` parameter works only for predefined Microsoft Annotations Framework namespaces. For any other namespace given in the `name` parameter will return `null`, even those namespaces registered through the `knownNamespaces` parameter of the constructor.
The namespaces predefined by the Annotations Framework include the following:
@@ -572,7 +572,7 @@
## Remarks
The property will never return `null`, however the returned list can be empty if no namespaces are ignored.
- helps in XML markup compatibility when the program reads annotation content created by different versions of the Microsoft Annotations Framework. When an older application is given annotation content created using a newer version of the Annotations Framework, returns a list of the XML namespaces for elements and attributes not known to the older framework. Unknown XML elements and attributes associated with newer namespaces are ignored when the annotation content is read and deserialized by the older application. For more information, see the [XML Markup Compatibility Specification](/office/open-xml/general/introduction-to-markup-compatibility#markup-compatibility-in-the-open-xml-file-formats-specification).
+ helps in XML markup compatibility when the program reads annotation content created by different versions of the Microsoft Annotations Framework. When an older application is given annotation content created using a newer version of the Annotations Framework, returns a list of the XML namespaces for elements and attributes not known to the older framework. Unknown XML elements and attributes associated with newer namespaces are ignored when the annotation content is read and deserialized by the older application. For more information, see the [XML Markup Compatibility Specification](/office/open-xml/general/introduction-to-markup-compatibility#markup-compatibility-in-the-open-xml-file-formats-specification).
]]>
diff --git a/xml/System.Windows.Annotations/Annotation.xml b/xml/System.Windows.Annotations/Annotation.xml
index 6dc43f05fd3..2cd440b4392 100644
--- a/xml/System.Windows.Annotations/Annotation.xml
+++ b/xml/System.Windows.Annotations/Annotation.xml
@@ -39,17 +39,17 @@
## Remarks
represents a single annotation with all associated anchoring and content data. An annotation consists of the following main elements.
-- Zero, one, or more that identify what is being annotated.
+- Zero, one, or more that identify what is being annotated.
-- Zero, one, or more that contain the user data for the annotation.
+- Zero, one, or more that contain the user data for the annotation.
-- Zero, one, or more that define who created the annotation.
+- Zero, one, or more that define who created the annotation.
-- A that specifies the date and time when the annotation was created.
+- A that specifies the date and time when the annotation was created.
-- A that specifies when the annotation was last updated.
+- A that specifies when the annotation was last updated.
-- A unique annotation (a globally unique identifier (GUID)).
+- A unique annotation (a globally unique identifier (GUID)).
]]>
@@ -244,9 +244,9 @@
in the collection identifies a data selection to which the annotation is bound (in other words, "the data selection that is being annotated"). While most annotations refer to a single data selection and contain just one anchor , multiple anchors can occur if a single annotation refers to multiple data selections.
+ Each in the collection identifies a data selection to which the annotation is bound (in other words, "the data selection that is being annotated"). While most annotations refer to a single data selection and contain just one anchor , multiple anchors can occur if a single annotation refers to multiple data selections.
- The returned collection is never null; however, the collection may contain zero elements.
+ The returned collection is never null; however, the collection may contain zero elements.
]]>
@@ -288,10 +288,10 @@
name passed as a parameter to the constructor.
+ The returned annotation type is the name passed as a parameter to the constructor.
> [!NOTE]
-> returns `null` if the annotation was incorrectly constructed by using a parameterless constructor without parameters. (The parameterless constructor without parameters does not fully initialize the instance and is used only internally in combination with XML serialization.) To create a new annotation, applications should use the constructor that takes an as a parameter.
+> returns `null` if the annotation was incorrectly constructed by using a parameterless constructor without parameters. (The parameterless constructor without parameters does not fully initialize the instance and is used only internally in combination with XML serialization.) To create a new annotation, applications should use the constructor that takes an as a parameter.
]]>
@@ -362,7 +362,7 @@
collection is never `null`; however, the collection can contain zero elements if no author is specified.
+ The returned collection is never `null`; however, the collection can contain zero elements if no author is specified.
]]>
@@ -400,7 +400,7 @@
occurs on any modification to a cargo subpart, such as a change to an in the collection of a cargo.
+ In addition to when a cargo is added or removed, occurs on any modification to a cargo subpart, such as a change to an in the collection of a cargo.
]]>
@@ -442,9 +442,9 @@
in the collection contains user-defined data for the annotation.
+ Each in the collection contains user-defined data for the annotation.
- The returned collection is never null; however, the collection may contain zero elements if there is no user data for the annotation.
+ The returned collection is never null; however, the collection may contain zero elements if there is no user data for the annotation.
]]>
@@ -488,7 +488,7 @@
## Remarks
> [!NOTE]
-> returns if the annotation was incorrectly created by using the default constructor without parameters. An constructor with parameters should be used to correctly instantiate a new annotation.
+> returns if the annotation was incorrectly created by using the default constructor without parameters. An constructor with parameters should be used to correctly instantiate a new annotation.
]]>
@@ -566,7 +566,7 @@
## Remarks
> [!NOTE]
-> returns if the annotation was instantiated by using the default constructor without parameters. An constructor with parameters should be used to correctly instantiate a new annotation with a valid GUID.
+> returns if the annotation was instantiated by using the default constructor without parameters. An constructor with parameters should be used to correctly instantiate a new annotation with a valid GUID.
]]>
diff --git a/xml/System.Windows.Annotations/AnnotationAction.xml b/xml/System.Windows.Annotations/AnnotationAction.xml
index 11a9be9494b..4a8db75f6a6 100644
--- a/xml/System.Windows.Annotations/AnnotationAction.xml
+++ b/xml/System.Windows.Annotations/AnnotationAction.xml
@@ -23,11 +23,11 @@
Specifies the actions that occur with author, anchor, and cargo resources.
- defines the operations that occur to an annotation's , , and properties.
-
+ defines the operations that occur to an annotation's , , and properties.
+
]]>
diff --git a/xml/System.Windows.Annotations/AnnotationDocumentPaginator.xml b/xml/System.Windows.Annotations/AnnotationDocumentPaginator.xml
index 7d47b0deff8..f46050e4af4 100644
--- a/xml/System.Windows.Annotations/AnnotationDocumentPaginator.xml
+++ b/xml/System.Windows.Annotations/AnnotationDocumentPaginator.xml
@@ -27,7 +27,7 @@
class wraps the specified to the constructor to add the user annotations to the pages for printing.
+ The class wraps the specified to the constructor to add the user annotations to the pages for printing.
@@ -55,7 +55,7 @@
class wraps the specified to the constructor to add the user annotations to the pages for printing.
+ The class wraps the specified to the constructor to add the user annotations to the pages for printing.
]]>
@@ -93,9 +93,9 @@
. If needed you can use one of the alternate constructor overloads to set the text to a different setting.
+ By default this constructor sets the text flow direction to . If needed you can use one of the alternate constructor overloads to set the text to a different setting.
- The class wraps the specified to the constructor to add the user annotations to the pages for printing.
+ The class wraps the specified to the constructor to add the user annotations to the pages for printing.
]]>
@@ -139,14 +139,14 @@
. If needed you can use one of the alternate constructor overloads to set the text to a different setting.
+ By default this constructor sets the text flow direction to . If needed you can use one of the alternate constructor overloads to set the text to a different setting.
- The class wraps the specified to the constructor to add the user annotations to the pages for printing.
+ The class wraps the specified to the constructor to add the user annotations to the pages for printing.
## Examples
- The following example shows use of the constructor.
+ The following example shows use of the constructor.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/Window1.xaml.cs" id="Snippetdocviewannxpsprint":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationDocumentPaginator/Overview/window1.xaml.vb" id="Snippetdocviewannxpsprint":::
@@ -192,7 +192,7 @@
class wraps the specified to the constructor to add the user annotations to the pages for printing.
+ The class wraps the specified to the constructor to add the user annotations to the pages for printing.
]]>
@@ -232,7 +232,7 @@
class wraps the specified to the constructor to add the user annotations to the pages for printing.
+ The class wraps the specified to the constructor to add the user annotations to the pages for printing.
]]>
@@ -302,9 +302,9 @@
returns, will be `true` and the property will reflect the total number of pages.
+ Immediately after returns, will be `true` and the property will reflect the total number of pages.
- The number of pages may change if the annotation content is modified or the is changed.
+ The number of pages may change if the annotation content is modified or the is changed.
]]>
@@ -344,7 +344,7 @@
method if the application wishes to cancel the asynchronous operation before completion.
+ The `userState` parameter is intended for use with method if the application wishes to cancel the asynchronous operation before completion.
]]>
@@ -423,7 +423,7 @@
method if the application wishes to cancel the asynchronous operation before completion.
+ The `userState` parameter is intended for use with method if the application wishes to cancel the asynchronous operation before completion.
]]>
@@ -464,7 +464,7 @@
may switch from `true` to `false` and recomputed if a change to the content or triggers repagination.
+ may switch from `true` to `false` and recomputed if a change to the content or triggers repagination.
]]>
@@ -500,7 +500,7 @@
may change from `true` to `false` and recomputed if a change to the content or triggers repagination.
+ may change from `true` to `false` and recomputed if a change to the content or triggers repagination.
]]>
@@ -536,7 +536,7 @@
gets or sets the *suggested* size for formatting pages. Use the property to get the actual size of the page (if it is required the actual size may be cropped from the suggested ).
+ gets or sets the *suggested* size for formatting pages. Use the property to get the actual size of the page (if it is required the actual size may be cropped from the suggested ).
]]>
diff --git a/xml/System.Windows.Annotations/AnnotationHelper.xml b/xml/System.Windows.Annotations/AnnotationHelper.xml
index 64738996b3c..90ebe1974f8 100644
--- a/xml/System.Windows.Annotations/AnnotationHelper.xml
+++ b/xml/System.Windows.Annotations/AnnotationHelper.xml
@@ -57,13 +57,13 @@
The annotation service from which to remove highlight annotations.
Clears all highlight annotations from the current selection of the viewer control associated with the given .
- performs no operation.
-
- If the current viewer selection overlaps a highlight only partially, only the portion of the selection that overlaps is cleared and the unselected portion of the annotation highlight remains.
-
+ performs no operation.
+
+ If the current viewer selection overlaps a highlight only partially, only the portion of the selection that overlaps is cleared and the unselected portion of the annotation highlight remains.
+
]]>
@@ -109,28 +109,28 @@
Creates a highlight annotation on the current selection of the viewer control associated with the specified .
The highlight annotation; or , if there is no selected content to highlight.
- , , , , or control specified to the constructor.
-
- If there is no selected content (the selection length is zero length), no annotation is created and an is thrown.
-
- `author` can be specified as `null` in which case no author is defined.
-
- If `highlightBrush` is `null`, the default highlight brush of the given annotation `service` is used.
-
- The given annotation `service` must be enabled by means of a call to prior to calling .
-
+ , , , , or control specified to the constructor.
+
+ If there is no selected content (the selection length is zero length), no annotation is created and an is thrown.
+
+ `author` can be specified as `null` in which case no author is defined.
+
+ If `highlightBrush` is `null`, the default highlight brush of the given annotation `service` is used.
+
+ The given annotation `service` must be enabled by means of a call to prior to calling .
+
]]>
is .
- is not enabled.
-
- -or-
-
+ is not enabled.
+
+ -or-
+
in not a .
The viewer control contains no content selection.
@@ -170,17 +170,17 @@
Creates an ink sticky note annotation on the current selection of the viewer control associated with the specified .
The ink sticky note annotation; or , if there is no selected content to annotate.
- , , , , or control specified to the constructor.
-
- If there is no user-selected content (the selection length is zero length), no annotation is created and an is thrown.
-
- `author` can be specified as `null` in which case no author is defined.
-
- The given annotation `service` must be enabled by means of a call to prior to calling .
-
+ , , , , or control specified to the constructor.
+
+ If there is no user-selected content (the selection length is zero length), no annotation is created and an is thrown.
+
+ `author` can be specified as `null` in which case no author is defined.
+
+ The given annotation `service` must be enabled by means of a call to prior to calling .
+
]]>
@@ -226,17 +226,17 @@
Creates a text sticky note annotation on the current selection of the viewer control associated with the specified .
The text sticky note annotation; or , if there is no selected content to annotate.
- , , , , or control specified to the constructor.
-
- If there is no user-selected content (the selection length is zero length), no annotation is created and an is thrown.
-
- `author` can be specified as `null` in which case no author is defined.
-
- The given annotation `service` must be enabled by means of a call to prior to calling .
-
+ , , , , or control specified to the constructor.
+
+ If there is no user-selected content (the selection length is zero length), no annotation is created and an is thrown.
+
+ `author` can be specified as `null` in which case no author is defined.
+
+ The given annotation `service` must be enabled by means of a call to prior to calling .
+
]]>
@@ -279,13 +279,13 @@
The annotation service from which to delete ink sticky note annotations.
Deletes ink sticky note annotations that are wholly contained within the current selection of the viewer control associated with the given .
- contains no user selection or the user selection does not wholly contain any ink sticky note annotations, performs no operation.
-
- The given annotation `service` must be enabled by means of a call to prior to calling .
-
+ contains no user selection or the user selection does not wholly contain any ink sticky note annotations, performs no operation.
+
+ The given annotation `service` must be enabled by means of a call to prior to calling .
+
]]>
@@ -327,13 +327,13 @@
The annotation service from which to delete text sticky note annotations.
Deletes text sticky note annotations that are wholly contained within the current selection of the viewer control associated with the given .
- contains no user selection or the user selection does not wholly contain any text sticky note annotations, performs no operation.
-
- The given annotation `service` must be enabled by means of a call to prior to calling .
-
+ contains no user selection or the user selection does not wholly contain any text sticky note annotations, performs no operation.
+
+ The given annotation `service` must be enabled by means of a call to prior to calling .
+
]]>
@@ -378,16 +378,16 @@
Returns an object that provides anchoring information, such as the anchor location, about the specified annotation.
An object that provides anchoring information about the specified annotation, or if it cannot be resolved.
-
diff --git a/xml/System.Windows.Annotations/AnnotationResource.xml b/xml/System.Windows.Annotations/AnnotationResource.xml
index 355feb96d5e..009110fd32e 100644
--- a/xml/System.Windows.Annotations/AnnotationResource.xml
+++ b/xml/System.Windows.Annotations/AnnotationResource.xml
@@ -41,9 +41,9 @@
elements are used to model (the data that is being annotated) and (the data provided by the user such as a text note) in an .
+ elements are used to model (the data that is being annotated) and (the data provided by the user such as a text note) in an .
- Through the use of an can refer to the content, directly contain the content, or both.
+ Through the use of an can refer to the content, directly contain the content, or both.
]]>
@@ -84,7 +84,7 @@
constructor that accepts a specified `name` parameter.
+ This constructor is intended for annotation serializer use only. For application needs, use the constructor that accepts a specified `name` parameter.
]]>
@@ -120,7 +120,7 @@
constructor that accepts a specified `name` parameter.
+ This constructor is intended for annotation serializer use only. For application needs, use the constructor that accepts a specified `name` parameter.
]]>
@@ -160,7 +160,7 @@
## Remarks
The `name` parameter is provided for convenience only and no validation is performed on the string.
- The constructor automatically creates a GUID that is accessible through the property.
+ The constructor automatically creates a GUID that is accessible through the property.
]]>
@@ -246,7 +246,7 @@
never returns `null`; however the collection may be empty if the resource contains no content.
+ never returns `null`; however the collection may be empty if the resource contains no content.
]]>
diff --git a/xml/System.Windows.Annotations/AnnotationResourceChangedEventArgs.xml b/xml/System.Windows.Annotations/AnnotationResourceChangedEventArgs.xml
index 03cb87dc6d8..91182f8deb2 100644
--- a/xml/System.Windows.Annotations/AnnotationResourceChangedEventArgs.xml
+++ b/xml/System.Windows.Annotations/AnnotationResourceChangedEventArgs.xml
@@ -24,11 +24,11 @@
Provides data for the and events.
- data includes the that raised the event, the anchor or cargo resource associated with the event, and the action that was taken - , , or .
-
+ data includes the that raised the event, the anchor or cargo resource associated with the event, and the action that was taken - , , or .
+
]]>
@@ -105,11 +105,11 @@
Gets the action of the annotation .
The action of the annotation .
- is called when an or resource is , , or .
-
+ is called when an or resource is , , or .
+
]]>
diff --git a/xml/System.Windows.Annotations/AnnotationService.xml b/xml/System.Windows.Annotations/AnnotationService.xml
index bf47b976018..8584595758c 100644
--- a/xml/System.Windows.Annotations/AnnotationService.xml
+++ b/xml/System.Windows.Annotations/AnnotationService.xml
@@ -63,7 +63,7 @@
## Examples
- The following example shows use of the constructor.
+ The following example shows use of the constructor.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/Window1.xaml.cs" id="Snippetdocviewxmlstartannotations":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationService/Overview/window1.xaml.vb" id="Snippetdocviewxmlstartannotations":::
@@ -102,7 +102,7 @@
constructor.
+ The following example shows use of the constructor.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/Window1.xaml.cs" id="Snippetdocviewxmlstartannotations":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationService/Overview/window1.xaml.vb" id="Snippetdocviewxmlstartannotations":::
@@ -142,7 +142,7 @@
constructor.
+ The following example shows use of the constructor.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/Window1.xaml.cs" id="Snippetdocviewxmlstartannotations":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationService/Overview/window1.xaml.vb" id="Snippetdocviewxmlstartannotations":::
@@ -193,7 +193,7 @@
## Examples
- The following example shows use of the constructor.
+ The following example shows use of the constructor.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/Window1.xaml.cs" id="Snippetdocviewxmlstartannotations":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationService/Overview/window1.xaml.vb" id="Snippetdocviewxmlstartannotations":::
@@ -482,12 +482,12 @@
is called all annotations become hidden.
+ When is called all annotations become hidden.
## Examples
- The following example shows how to use the method when you stop the .
+ The following example shows how to use the method when you stop the .
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/Window1.xaml.cs" id="Snippetdocviewxmlstopannotations":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationService/Overview/window1.xaml.vb" id="Snippetdocviewxmlstopannotations":::
@@ -531,12 +531,12 @@
is called all annotations in the viewer control window are displayed. (The viewer control associated with the annotation service is specified in the parameter to the constructor.)
+ When is called all annotations in the viewer control window are displayed. (The viewer control associated with the annotation service is specified in the parameter to the constructor.)
## Examples
- The following example shows how to use the method when you start an .
+ The following example shows how to use the method when you start an .
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationService/Overview/Window1.xaml.cs" id="Snippetdocviewxmlstartannotations":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationService/Overview/window1.xaml.vb" id="Snippetdocviewxmlstartannotations":::
@@ -560,7 +560,7 @@
method can be used to return the associated with the following document viewing controls:
+ The method can be used to return the associated with the following document viewing controls:
-
@@ -572,7 +572,7 @@
-
- The viewer control associated with the annotation service is specified in the parameter to the constructor.
+ The viewer control associated with the annotation service is specified in the parameter to the constructor.
]]>
@@ -613,7 +613,7 @@
method can be used to return the associated with the following document viewing controls:
+ The method can be used to return the associated with the following document viewing controls:
-
@@ -625,7 +625,7 @@
-
- The viewer control associated with the annotation service is specified in the parameter to the constructor.
+ The viewer control associated with the annotation service is specified in the parameter to the constructor.
]]>
@@ -668,7 +668,7 @@
method can be used to return the associated with the following document viewing controls:
+ The method can be used to return the associated with the following document viewing controls:
-
@@ -680,7 +680,7 @@
-
- The viewer control associated with the annotation service is specified in the parameter to the constructor.
+ The viewer control associated with the annotation service is specified in the parameter to the constructor.
]]>
@@ -725,7 +725,7 @@
method can be used to return the associated with the following document viewing controls:
+ The method can be used to return the associated with the following document viewing controls:
-
@@ -737,7 +737,7 @@
-
- The viewer control associated with the annotation service is specified in the parameter to the constructor.
+ The viewer control associated with the annotation service is specified in the parameter to the constructor.
]]>
@@ -831,7 +831,7 @@
used by the is specified as a parameter in the service's method.
+ The used by the is specified as a parameter in the service's method.
diff --git a/xml/System.Windows.Annotations/ContentLocator.xml b/xml/System.Windows.Annotations/ContentLocator.xml
index 6c3b684e5eb..f32420ffa90 100644
--- a/xml/System.Windows.Annotations/ContentLocator.xml
+++ b/xml/System.Windows.Annotations/ContentLocator.xml
@@ -101,11 +101,11 @@
method creates modifiable copies of frozen objects. For convenience, shadows the inherited version with a strongly typed implementation. For more details, see .
+ This method creates modifiable copies of frozen objects. For convenience, shadows the inherited version with a strongly typed implementation. For more details, see .
The cloned 's property will be `false` even if this source 's property was `true`.
- When copying dependency properties, copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or the current animation values.
+ When copying dependency properties, copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or the current animation values.
]]>
@@ -145,7 +145,7 @@
method is provided to fulfill the contract of the interface.
+ The method is provided to fulfill the contract of the interface.
]]>
@@ -269,9 +269,9 @@
returns `true` the starting sequence of elements in this matches those in the specified `locator`.
+ returns `true` the starting sequence of elements in this matches those in the specified `locator`.
- returns `false` if the specified `locator` contains elements that are different, in a different order, or more than in this .
+ returns `false` if the specified `locator` contains elements that are different, in a different order, or more than in this .
]]>
diff --git a/xml/System.Windows.Annotations/ContentLocatorBase.xml b/xml/System.Windows.Annotations/ContentLocatorBase.xml
index fccf809f2b2..37869432619 100644
--- a/xml/System.Windows.Annotations/ContentLocatorBase.xml
+++ b/xml/System.Windows.Annotations/ContentLocatorBase.xml
@@ -70,11 +70,11 @@
method creates modifiable copies of frozen objects. For convenience, shadows the inherited version with a strongly typed implementation. For more details, see .
+ This method creates modifiable copies of frozen objects. For convenience, shadows the inherited version with a strongly typed implementation. For more details, see .
The cloned 's property will be `false` even if this source 's property is `true`.
- When copying dependency properties, copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or current animation values.
+ When copying dependency properties, copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or current animation values.
]]>
diff --git a/xml/System.Windows.Annotations/ContentLocatorGroup.xml b/xml/System.Windows.Annotations/ContentLocatorGroup.xml
index 6eeeeea894f..8fdeab2f97d 100644
--- a/xml/System.Windows.Annotations/ContentLocatorGroup.xml
+++ b/xml/System.Windows.Annotations/ContentLocatorGroup.xml
@@ -99,11 +99,11 @@
method creates modifiable copies of frozen objects. For convenience, shadows the inherited version with a strongly typed implementation. For more details, see .
+ This method creates modifiable copies of frozen objects. For convenience, shadows the inherited version with a strongly typed implementation. For more details, see .
The cloned 's property will be `false` even if this source 's property is `true`.
- When copying dependency properties, copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or current animation values.
+ When copying dependency properties, copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or current animation values.
]]>
@@ -143,7 +143,7 @@
is provided to fulfill the contract of the interface.
+ is provided to fulfill the contract of the interface.
]]>
diff --git a/xml/System.Windows.Annotations/ContentLocatorPart.xml b/xml/System.Windows.Annotations/ContentLocatorPart.xml
index a5fc9e71f87..d4796569999 100644
--- a/xml/System.Windows.Annotations/ContentLocatorPart.xml
+++ b/xml/System.Windows.Annotations/ContentLocatorPart.xml
@@ -92,11 +92,11 @@
method creates modifiable copies of frozen objects. For convenience, this method shadows the inherited version with a strongly typed implementation. For more details, see .
+ This method creates modifiable copies of frozen objects. For convenience, this method shadows the inherited version with a strongly typed implementation. For more details, see .
The cloned 's property will be `false` even if this source 's property is `true`.
- When copying dependency properties, copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or current animation values.
+ When copying dependency properties, copies resource references and data bindings (although they might no longer resolve) but does not copy not animations or current animation values.
]]>
@@ -238,7 +238,7 @@
constructor.
+ The returned type name and namespace is originally defined in the parameter to the constructor.
]]>
diff --git a/xml/System.Windows.Annotations/TextAnchor.xml b/xml/System.Windows.Annotations/TextAnchor.xml
index d81d56e1156..53d8000b221 100644
--- a/xml/System.Windows.Annotations/TextAnchor.xml
+++ b/xml/System.Windows.Annotations/TextAnchor.xml
@@ -24,19 +24,19 @@
Represents a selection of content that an annotation is anchored to.
- is the object type of the returned if you are using sticky notes and highlights in flow or fixed documents.
-
-## Examples
- Consider a simple document reader application that has a comments pane. The comments pane might be a list box that displays the text from a list of annotations that are anchored to a document. If the user selects an item in the list box, then the application brings into view the paragraph in the document that the corresponding annotation object is anchored to.
-
- The following example demonstrates how to implement the event handler of such a list box that serves as the comments pane.
-
+ is the object type of the returned if you are using sticky notes and highlights in flow or fixed documents.
+
+## Examples
+ Consider a simple document reader application that has a comments pane. The comments pane might be a list box that displays the text from a list of annotations that are anchored to a document. If the user selects an item in the list box, then the application brings into view the paragraph in the document that the corresponding annotation object is anchored to.
+
+ The following example demonstrates how to implement the event handler of such a list box that serves as the comments pane.
+
:::code language="csharp" source="~/snippets/csharp/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/Window1.xaml.cs" id="Snippethandler":::
- :::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/window1.xaml.vb" id="Snippethandler":::
-
+ :::code language="vb" source="~/snippets/visualbasic/System.Windows.Annotations/AnnotationHelper/GetAnchorInfo/window1.xaml.vb" id="Snippethandler":::
+
]]>
@@ -101,16 +101,16 @@
Gets the beginning position of the text anchor.
The beginning position of the text anchor.
-
diff --git a/xml/System.Windows.Automation.Peers/AutomationEvents.xml b/xml/System.Windows.Automation.Peers/AutomationEvents.xml
index 3f13fcabbb6..84346376e9b 100644
--- a/xml/System.Windows.Automation.Peers/AutomationEvents.xml
+++ b/xml/System.Windows.Automation.Peers/AutomationEvents.xml
@@ -23,11 +23,11 @@
Specifies the event that is raised by the element through the associated .
- method to raise an event.
-
+ method to raise an event.
+
]]>
diff --git a/xml/System.Windows.Automation.Peers/AutomationPeer.xml b/xml/System.Windows.Automation.Peers/AutomationPeer.xml
index 364f9ba3e79..8471235f69a 100644
--- a/xml/System.Windows.Automation.Peers/AutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/AutomationPeer.xml
@@ -879,7 +879,7 @@
In addition to overriding this method, the types that are associated with an element that immediately hosts an `hwnd` must return the that is cast to in response to WM_GETOBJECT coming to the hosted `hwnd`.
- To get a pointer to , call .
+ To get a pointer to , call .
]]>
@@ -1058,13 +1058,13 @@
control, the method gets the for the that is associated with the .
+ For example, if the element is a control, the method gets the for the that is associated with the .
- In the following image, the "Themes" is targeted to the ; therefore the for the also targets the . When the user presses **ALT**+**T**, the gets focus instead of the .
+ In the following image, the "Themes" is targeted to the ; therefore the for the also targets the . When the user presses **ALT**+**T**, the gets focus instead of the .

- The method for returns the for the corresponding . This enables an automation client to get the text string that describes the .
+ The method for returns the for the corresponding . This enables an automation client to get the text string that describes the .
]]>
@@ -1267,7 +1267,7 @@ This method calls the derived implementation of .
+ This method calls the derived implementation of .
]]>
@@ -1728,9 +1728,9 @@ This method calls the derived implementation of and .
+ Examples of main properties include, but are not limited to, and .
- Typically, updates and notifications happen automatically after the update of the layout in Windows Presentation Foundation (WPF). (The update occurs in response to the event.) Sometimes, however, properties change without raising the event. For example, when the whole moves, the event is not raised. In this example, the set of objects change because the objects are expressed in screen coordinates. Therefore, the must call on its peer on .
+ Typically, updates and notifications happen automatically after the update of the layout in Windows Presentation Foundation (WPF). (The update occurs in response to the event.) Sometimes, however, properties change without raising the event. For example, when the whole moves, the event is not raised. In this example, the set of objects change because the objects are expressed in screen coordinates. Therefore, the must call on its peer on .
]]>
@@ -2035,7 +2035,7 @@ This method calls the derived implementation of and .
- These peers must also override .
+ These peers must also override .
]]>
diff --git a/xml/System.Windows.Automation.Peers/ContentElementAutomationPeer.xml b/xml/System.Windows.Automation.Peers/ContentElementAutomationPeer.xml
index 4c6e9ecda96..9fd940a3ebf 100644
--- a/xml/System.Windows.Automation.Peers/ContentElementAutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/ContentElementAutomationPeer.xml
@@ -91,7 +91,7 @@
## Remarks
This remains in memory until the associated is destroyed.
- The same instance of the is returned from subsequent calls to this method and to calls to . The type of the peer is determined by the virtual callback. If does not implement the callback, no is created and this method returns `null`.
+ The same instance of the is returned from subsequent calls to this method and to calls to . The type of the peer is determined by the virtual callback. If does not implement the callback, no is created and this method returns `null`.
]]>
@@ -565,7 +565,7 @@
control, the method could get the for the that is associated with the .
+ For example, if the element is a control, the method could get the for the that is associated with the .
]]>
diff --git a/xml/System.Windows.Automation.Peers/DocumentAutomationPeer.xml b/xml/System.Windows.Automation.Peers/DocumentAutomationPeer.xml
index 1ede9c11664..208cd7192c4 100644
--- a/xml/System.Windows.Automation.Peers/DocumentAutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/DocumentAutomationPeer.xml
@@ -27,10 +27,10 @@
represents documents and supports the . Objects such as a or can contain embedded objects, such as images and hyperlinks. Initially, when you try to get the child elements of the document, does not return the embedded objects. To get the embedded elements, obtain a from the and call . After is called, any elements in that are returned by .
+ The represents documents and supports the . Objects such as a or can contain embedded objects, such as images and hyperlinks. Initially, when you try to get the child elements of the document, does not return the embedded objects. To get the embedded elements, obtain a from the and call . After is called, any elements in that are returned by .
> [!NOTE]
-> Unless you know the document is a , you should not call on the property. If the document is loaded from a network location, calling on the entire document is resource intensive. Instead, you should use one of the methods on that returns a that represents a portion of the document.
+> Unless you know the document is a , you should not call on the property. If the document is loaded from a network location, calling on the entire document is resource intensive. Instead, you should use one of the methods on that returns a that represents a portion of the document.
]]>
diff --git a/xml/System.Windows.Automation.Peers/FlowDocumentScrollViewerAutomationPeer.xml b/xml/System.Windows.Automation.Peers/FlowDocumentScrollViewerAutomationPeer.xml
index 3ce6b812226..c2d6d9ed7ff 100644
--- a/xml/System.Windows.Automation.Peers/FlowDocumentScrollViewerAutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/FlowDocumentScrollViewerAutomationPeer.xml
@@ -183,17 +183,17 @@
Gets the control pattern for the that is associated with this .
An object that supports the control pattern if is a supported value; otherwise, .
- method returns when depending on the value of `patternInterface`:
-
-|The value of `patternInterface`|The return value|
-|-------------------------------------|----------------------|
-||The for this .|
-||An object that implements the interface.|
-||An object that implements the interface.|
-
+ method returns when depending on the value of `patternInterface`:
+
+|The value of `patternInterface`|The return value|
+|-------------------------------------|----------------------|
+||The for this .|
+||An object that implements the interface.|
+||An object that implements the interface.|
+
]]>
diff --git a/xml/System.Windows.Automation.Peers/FrameworkContentElementAutomationPeer.xml b/xml/System.Windows.Automation.Peers/FrameworkContentElementAutomationPeer.xml
index d2079b58f58..bc6d7af2f07 100644
--- a/xml/System.Windows.Automation.Peers/FrameworkContentElementAutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/FrameworkContentElementAutomationPeer.xml
@@ -120,11 +120,11 @@
Gets the string that describes the functionality of the that is associated with this . This method is called by .
The string describing the functionality of the element.
-
@@ -158,11 +158,11 @@
Gets the for the that is targeted to the that is associated with this . This method is called by .
The for the element that is targeted by the .
- control, the method can retrieve the for the that is associated with the .
-
+ control, the method can retrieve the for the that is associated with the .
+
]]>
diff --git a/xml/System.Windows.Automation.Peers/ItemAutomationPeer.xml b/xml/System.Windows.Automation.Peers/ItemAutomationPeer.xml
index ced1790c3c9..922b153daae 100644
--- a/xml/System.Windows.Automation.Peers/ItemAutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/ItemAutomationPeer.xml
@@ -114,7 +114,7 @@
.
+ This method is called by .
]]>
@@ -152,7 +152,7 @@
.
+ This method is called by .
]]>
@@ -192,7 +192,7 @@
## Remarks
The value of the UI Automation identifier is the property. If the property is not set, the value is the property.
- This method is called by .
+ This method is called by .
]]>
@@ -230,7 +230,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -268,7 +268,7 @@
.
+ This method is called by .
]]>
@@ -306,7 +306,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -372,7 +372,7 @@
.
+ This method is called by .
]]>
@@ -410,7 +410,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -448,7 +448,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -486,7 +486,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -555,7 +555,7 @@
## Remarks
You can think of the name property as if it were a string of text that users use to explain which control they are referring to. Make certain that you have a textual representation for all controls in the graphical user interface (GUI) so that you can programmatically refer to the control in a localized manner.
- This method is called by .
+ This method is called by .
]]>
@@ -593,7 +593,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -729,7 +729,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -768,7 +768,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -807,7 +807,7 @@
corresponds to the data item in the collection. The user might understand the as contributing to the logical structure of the control in the GUI. This method is called by .
+ The corresponds to the data item in the collection. The user might understand the as contributing to the logical structure of the control in the GUI. This method is called by .
]]>
@@ -874,7 +874,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -913,7 +913,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -952,7 +952,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
This method does not indicate whether the element is visible. In some circumstances, an element is on the screen but is still not visible. For example, if the element is obscured by other elements, it might not be visible. In this case, the method returns `false`.
@@ -993,7 +993,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -1032,7 +1032,7 @@
corresponds to the data item in the collection that is associated with this . This method is called by .
+ The corresponds to the data item in the collection that is associated with this . This method is called by .
]]>
@@ -1143,7 +1143,7 @@
.
+ This method is called by .
]]>
diff --git a/xml/System.Windows.Automation.Peers/RibbonAutomationPeer.xml b/xml/System.Windows.Automation.Peers/RibbonAutomationPeer.xml
index d6fa86dca53..b022b505402 100644
--- a/xml/System.Windows.Automation.Peers/RibbonAutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/RibbonAutomationPeer.xml
@@ -258,7 +258,7 @@
method returns a collection of objects that represent the , , and objects that belong to the .
+ The method returns a collection of objects that represent the , , and objects that belong to the .
]]>
diff --git a/xml/System.Windows.Automation.Peers/TextBoxAutomationPeer.xml b/xml/System.Windows.Automation.Peers/TextBoxAutomationPeer.xml
index 593aee155d8..c051b1226c2 100644
--- a/xml/System.Windows.Automation.Peers/TextBoxAutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/TextBoxAutomationPeer.xml
@@ -158,18 +158,18 @@
Gets the control pattern for the that is associated with this .
An object that supports the control pattern if is a supported value; otherwise, .
- method returns when depending on the value of `patternInterface`:
-
-|The value of `patternInterface`|The return value|
-|-------------------------------------|----------------------|
-||A reference to the current instance of the .|
-||The for this .|
-||An object that implements the interface.|
-||An object that implements the interface.|
-
+ method returns when depending on the value of `patternInterface`:
+
+|The value of `patternInterface`|The return value|
+|-------------------------------------|----------------------|
+||A reference to the current instance of the .|
+||The for this .|
+||An object that implements the interface.|
+||An object that implements the interface.|
+
]]>
UI Automation Control Patterns
diff --git a/xml/System.Windows.Automation.Peers/TreeViewDataItemAutomationPeer.xml b/xml/System.Windows.Automation.Peers/TreeViewDataItemAutomationPeer.xml
index 2f4d1b6bd25..cc85760b258 100644
--- a/xml/System.Windows.Automation.Peers/TreeViewDataItemAutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/TreeViewDataItemAutomationPeer.xml
@@ -157,19 +157,19 @@
Gets the control pattern for the element that is associated with this .
The object that implements the pattern interface, or if the specified pattern interface is not implemented by this peer.
- method returns when depending on the value of `patternInterface`:
-
-|The value of `patternInterface`|The return value|
-|-------------------------------------|----------------------|
-||The current .|
-||The that represents the that contains the data item|
-||The current .|
-||The current .|
-||An object that implements the interface.|
-
+ method returns when depending on the value of `patternInterface`:
+
+|The value of `patternInterface`|The return value|
+|-------------------------------------|----------------------|
+||The current .|
+||The that represents the that contains the data item|
+||The current .|
+||The current .|
+||An object that implements the interface.|
+
]]>
@@ -237,11 +237,11 @@
Hides all nodes, controls, or content that are descendants of the control.
- instance is cast to an interface.
-
+ instance is cast to an interface.
+
]]>
@@ -275,11 +275,11 @@
Displays all child nodes, controls, or content of the control.
- instance is cast to an interface.
-
+ instance is cast to an interface.
+
]]>
@@ -313,11 +313,11 @@
Gets the state, expanded or collapsed, of the control.
The state, expanded or collapsed, of the control.
- instance is cast to an interface.
-
+ instance is cast to an interface.
+
]]>
@@ -351,11 +351,11 @@
Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.
- instance is cast to an interface.
-
+ instance is cast to an interface.
+
]]>
@@ -389,11 +389,11 @@
Adds the current element to the collection of selected items.
- instance is cast to an interface.
-
+ instance is cast to an interface.
+
]]>
UI Automation element is no longer available.
@@ -429,11 +429,11 @@
if an item is selected; otherwise, .
- instance is cast to an interface.
-
+ instance is cast to an interface.
+
]]>
@@ -467,11 +467,11 @@
Removes the current element from the collection of selected items.
- instance is cast to an interface.
-
+ instance is cast to an interface.
+
]]>
UI Automation element is no longer available.
@@ -506,11 +506,11 @@
Clears any selection and then selects the current element.
- instance is cast to an interface.
-
+ instance is cast to an interface.
+
]]>
UI Automation element is no longer available.
@@ -545,11 +545,11 @@
Gets the UI automation provider that implements and acts as the container for the calling object.
The UI automation provider.
- instance is cast to an interface.
-
+ instance is cast to an interface.
+
]]>
diff --git a/xml/System.Windows.Automation.Peers/UIElement3DAutomationPeer.xml b/xml/System.Windows.Automation.Peers/UIElement3DAutomationPeer.xml
index 409def7f7cf..db260f4c915 100644
--- a/xml/System.Windows.Automation.Peers/UIElement3DAutomationPeer.xml
+++ b/xml/System.Windows.Automation.Peers/UIElement3DAutomationPeer.xml
@@ -29,9 +29,9 @@
## Remarks
By default, any class that inherits from uses to communicate with UI Automation.
- If you create a class that inherits from , you may want to provide an automation peer to support the functionality of your class. Override the method to return a string that represents the type of the element associated with the . For example, if you create a class called `My3DElement` and an automation peer called `My3DElementAutomationPeer`, override the method to return the string "My3DElement".
+ If you create a class that inherits from , you may want to provide an automation peer to support the functionality of your class. Override the method to return a string that represents the type of the element associated with the . For example, if you create a class called `My3DElement` and an automation peer called `My3DElementAutomationPeer`, override the method to return the string "My3DElement".
- If your class matches one of the known control types, override the method to return that . Note that although the existing values are generally associated with 2D controls, the indicates a control's functionality, not its appearance. So if your invokes an action when the user clicks it, you probably want to return .
+ If your class matches one of the known control types, override the method to return that . Note that although the existing values are generally associated with 2D controls, the indicates a control's functionality, not its appearance. So if your invokes an action when the user clicks it, you probably want to return .
The behavior of your custom determines what other methods you should override. Each method topic in the describes how the method is used and when it is appropriate to override it.
@@ -113,7 +113,7 @@
## Remarks
This remains in memory until the associated is destroyed.
- The same instance of the is returned from subsequent calls to this method and to calls to . The type of the peer is determined by the virtual callback. If does not implement the callback, no is created and this method returns `null`.
+ The same instance of the is returned from subsequent calls to this method and to calls to . The type of the peer is determined by the virtual callback. If does not implement the callback, no is created and this method returns `null`.
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -192,7 +192,7 @@
method to get the value. returns a value only when the property is set. You can override and add logic to provide the accelerator key in a way that makes sense for your .
+ This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide the accelerator key in a way that makes sense for your .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -231,7 +231,7 @@
method to get the value. returns a value only when the property is set. You can override and add logic to provide the access key in a way that makes sense for your .
+ This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide the access key in a way that makes sense for your .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -272,7 +272,7 @@
method to return that . Note that although the existing values are generally associated with 2D controls, the indicates a control's functionality, not its appearance. So if your invokes an action when the user clicks it, you probably want to return .
+ If your class matches one of the known control types, override the method to return that . Note that although the existing values are generally associated with 2D controls, the indicates a control's functionality, not its appearance. So if your invokes an action when the user clicks it, you probably want to return .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -311,7 +311,7 @@
method to get the value. returns a value only when the property is set. You can override and add logic to provide an identifier in a way that makes sense for your .
+ This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide an identifier in a way that makes sense for your .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -350,9 +350,9 @@
and a , this method returns .
+ If the element is not both a and a , this method returns .
- Classes that inherit from typically do not need to override .
+ Classes that inherit from typically do not need to override .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -391,7 +391,7 @@
typically do not need to override .
+ Classes that inherit from typically do not need to override .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -470,7 +470,7 @@
method returns the point that represents the center of the . Override if you want to return a different point.
+ The method returns the point that represents the center of the . Override if you want to return a different point.
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -537,7 +537,7 @@
method returns a string that is the same text that the control provides in the tooltip. This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide the help text in a way that makes sense for your .
+ Typically, the method returns a string that is the same text that the control provides in the tooltip. This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide the help text in a way that makes sense for your .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -578,7 +578,7 @@
## Remarks
Return a string that indicates whether the is conveying status about an item. For example, an item associated with a contact in a messaging application might be "Busy" or "Connected".
- This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide the item status in a way that makes sense for your .
+ This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide the item status in a way that makes sense for your .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -617,7 +617,7 @@
method to get the value. returns a value only when the property is set. You can override and add logic to provide the item type in a way that makes sense for your .
+ This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide the item type in a way that makes sense for your .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -656,7 +656,7 @@
method to get the value. returns a value only when the property is set. You can override and add logic to provide the in a way that makes sense for your .
+ This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide the in a way that makes sense for your .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -726,7 +726,7 @@
## Remarks
You can think of the name property as what users use to explain the control they are referring to. Be sure to have a textual representation for all controls in the graphical user interface (GUI) so that you can programmatically refer to the control in a localized manner.
- This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide a name in a way that makes sense for your .
+ This method calls the method to get the value. returns a value only when the property is set. You can override and add logic to provide a name in a way that makes sense for your .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -808,7 +808,7 @@
method to return control patterns that apply to your . For more information, see [UI Automation Control Patterns Overview](/dotnet/framework/ui-automation/ui-automation-control-patterns-overview).
+ Override the method to return control patterns that apply to your . For more information, see [UI Automation Control Patterns Overview](/dotnet/framework/ui-automation/ui-automation-control-patterns-overview).
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -906,7 +906,7 @@
typically do not need to override .
+ Classes that inherit from typically do not need to override .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -946,7 +946,7 @@
method if your is not a content element. A content element contains data that is presented to the user. An example of a content element is an item in a list box or a button on a dialog box. You typically use non-content elements, which are also called peripheral elements, to manipulate the content in a composite control. An example of a non-content element is the button on a drop-down control.
+ Override the method if your is not a content element. A content element contains data that is presented to the user. An example of a content element is an item in a list box or a button on a dialog box. You typically use non-content elements, which are also called peripheral elements, to manipulate the content in a composite control. An example of a non-content element is the button on a drop-down control.
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -1054,7 +1054,7 @@
typically do not need to override .
+ Classes that inherit from typically do not need to override .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -1094,7 +1094,7 @@
typically do not need to override .
+ Classes that inherit from typically do not need to override .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -1136,7 +1136,7 @@
## Remarks
This property does not indicate whether the element is visible. In some circumstances, an element is on the screen but is still not visible. For example, if the element is on the screen but obscured by other elements, it might not be visible. In this case the method returns `false`.
- Classes that inherit from typically do not need to override .
+ Classes that inherit from typically do not need to override .
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -1176,7 +1176,7 @@
if your contains protected content, such as a password.
+ Override if your contains protected content, such as a password.
is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](/dotnet/framework/migration-guide/versions-and-dependencies).
@@ -1216,7 +1216,7 @@
method to get the value. returns a value only when the property is set. You can override and add logic to provide a value that makes sense for your .
+ This method calls the method to get the value.