Skip to content

Conversation

@ryalanms
Copy link
Member

WPF/PresentationCore-MediaOther1: Generate XML files from most recent GA WPF source and update docs with DocsPortingTool

The GA source for these assemblies has 'triple-slash' comments not in the documentation:

PresentationBuildTasks
PresentationCore-AutomationPeers (AutomationPeers, Ink, and Input)
PresentationCore-Interop (Interop, Markup, Media Animation, and Media Effects)
PresentationCore-Media (Imaging and Media3D)
PresentationCore-MediaOther1
PresentationCore-MediaOther2
PresentationCore-Windows (System.Windows)
ReachFramework
System.Windows.Controls.Ribbon
System.Windows.Presentation
UIAutomationClient
UIAutomationTypes
WindowsBase

There is one documentation update PR per assembly, except PresentationCore, which was spit into 6 areas.

(Hide whitespace changes when reviewing files.)

@ghost ghost added the area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable. label Sep 24, 2021
@opbld31
Copy link

opbld31 commented Sep 24, 2021

Docs Build status updates of commit dbc0d36:

✅ Validation status: passed

File Status Preview URL Details
xml/System.Windows.Media.Imaging/BitmapSource.xml ✅Succeeded View
xml/System.Windows.Media.Imaging/CachedBitmap.xml ✅Succeeded View
xml/System.Windows.Media.Imaging/ColorConvertedBitmap.xml ✅Succeeded View
xml/System.Windows.Media.Imaging/CroppedBitmap.xml ✅Succeeded View
xml/System.Windows.Media.Imaging/FormatConvertedBitmap.xml ✅Succeeded View
xml/System.Windows.Media.Imaging/InPlaceBitmapMetadataWriter.xml ✅Succeeded View
xml/System.Windows.Media.Imaging/RenderTargetBitmap.xml ✅Succeeded View
xml/System.Windows.Media.Imaging/TransformedBitmap.xml ✅Succeeded View
xml/System.Windows.Media.Imaging/WriteableBitmap.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/AmbientLight.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/AxisAngleRotation3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/ContainerUIElement3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/DiffuseMaterial.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/DirectionalLight.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/EmissiveMaterial.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/GeneralTransform3DCollection+Enumerator.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/GeneralTransform3DCollection.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/GeneralTransform3DGroup.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/GeometryModel3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/MaterialCollection+Enumerator.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/MaterialCollection.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/MaterialGroup.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/MatrixCamera.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/MatrixTransform3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/MeshGeometry3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Model3DCollection+Enumerator.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Model3DCollection.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Model3DGroup.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/ModelUIElement3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/OrthographicCamera.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/PerspectiveCamera.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Point3DCollection+Enumerator.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Point3DCollection.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Point3DConverter.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Point4DConverter.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/PointLight.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/QuaternionConverter.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/QuaternionRotation3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Rect3DConverter.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/RotateTransform3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/ScaleTransform3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Size3DConverter.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/SpecularMaterial.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/SpotLight.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Transform3DCollection+Enumerator.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Transform3DCollection.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Transform3DGroup.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/TranslateTransform3D.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Vector3DCollection+Enumerator.xml ✅Succeeded View
xml/System.Windows.Media.Media3D/Vector3DCollection.xml ✅Succeeded View

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@carlossanlop carlossanlop requested a review from a team September 28, 2021 16:09
@carlossanlop carlossanlop added area-WPF Issues or PRs that relate to WPF or XAML. and removed area-Meta Concerns something that extends across runtime area boundaries, for example, IDisposable. labels Sep 28, 2021
@carlossanlop carlossanlop requested a review from gewarren October 1, 2021 16:29
</Parameters>
<Docs>
<param name="sourceFreezable">To be added.</param>
<summary>Implementation of <see cref="M:System.Windows.Freezable.CloneCore(System.Windows.Freezable)">Freezable.CloneCore</see>.</summary>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These summaries aren't very helpful for the final user. Can you please change them to something describing the purpose of the API?

<Parameter Name="sourceFreezable" Type="System.Windows.Freezable" />
</Parameters>
<Docs>
<param name="sourceFreezable">To be added.</param>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these params are missing a description. Can you please add one?

<exception cref="T:System.ArgumentNullException">
<paramref name="ancestor" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">The specified <paramref name="ancestor" /> object is not an ancestor of this object.</exception>
<exception cref="T:System.InvalidOperationException">If the Visual3D and Visual are not connected.</exception>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<exception cref="T:System.InvalidOperationException">If the Visual3D and Visual are not connected.</exception>
<exception cref="T:System.InvalidOperationException">The Visual3D and Visual are not connected.</exception>

<summary>Returns the common ancestor of the visual object and another specified visual object.</summary>
<returns>The common ancestor of the current visual object and <paramref name="otherVisual" />; or <see langword="null" /> if no common ancestor is found.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">If the argument is <see langword="null" />.</exception>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<exception cref="T:System.ArgumentNullException">If the argument is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException"><paramref name="otherVisual"/> is <see langword="null" />.</exception>

</Parameters>
<Docs>
<param name="hitTestParameters">To be added.</param>
<summary>Viewport3DVisual does not yet support Geometry hit testing.</summary>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this mean for the final user? also missing param and returns descriptions.

Comment on lines +497 to +501
<summary>Derived classes override this property to enable the Visual code to enumerate the Visual children. Derived classes need to return the number of children from this method.
By default a Visual does not have any children.
Remark: During this virtual method the Visual tree must not be modified.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume they meant "during the execution of this virtual method"?:

Suggested change
<summary>Derived classes override this property to enable the Visual code to enumerate the Visual children. Derived classes need to return the number of children from this method.
By default a Visual does not have any children.
Remark: During this virtual method the Visual tree must not be modified.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>Derived classes override this property to enable the Visual code to enumerate the Visual children. Derived classes need to return the number of children from this method. By default a Visual does not have any children.</summary>
<value>To be added.</value>
<remarks>During the execution of this virtual method, the Visual tree must not be modified.</remarks>

Comment on lines +260 to +267
<summary>Derived class must implement to support Visual children. The method must return the child at the specified index. Index must be between 0 and GetVisualChildrenCount-1.
By default a Visual3D does not have any children.
Remark:
Need to lock down Visual tree during the callbacks.
During this virtual call it is not valid to modify the Visual tree.
It is okay to type this protected API to the 2D Visual. The only 2D Visual with 3D childern is the Viewport3DVisual which is sealed.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<summary>Derived class must implement to support Visual children. The method must return the child at the specified index. Index must be between 0 and GetVisualChildrenCount-1.
By default a Visual3D does not have any children.
Remark:
Need to lock down Visual tree during the callbacks.
During this virtual call it is not valid to modify the Visual tree.
It is okay to type this protected API to the 2D Visual. The only 2D Visual with 3D childern is the Viewport3DVisual which is sealed.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<summary>Derived classes must implement this to support Visual children. The method must return the child at the specified index. Index must be between 0 and <code>GetVisualChildrenCount</code>-1. By default a Visual3D does not have any children.</summary>
<returns>To be added.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Need to lock down Visual tree during the callbacks.
During this virtual call, it is not valid to modify the Visual tree.
It is okay to type this protected API to the 2D Visual. The only 2D Visual with 3D children is the `Viewport3DVisual`, which is sealed.
]]></format>
</remarks>

Comment on lines +142 to +143
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type
which can be converted to a Quaternion.</exception>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type
which can be converted to a Quaternion.</exception>
<exception cref="T:System.NotSupportedException"><paramref name="value"/> is <see langword="null" /> or is not a valid type
which can be converted to a <see cref="T:System.Windows.Media.Media3D.Quaternion" />.</exception>

Comment on lines +229 to +230
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if "value" is <see langword="null" /> or not an instance of Point4D,
or if the destinationType isn't one of the valid destination types.</exception>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if "value" is <see langword="null" /> or not an instance of Point4D,
or if the destinationType isn't one of the valid destination types.</exception>
<exception cref="T:System.NotSupportedException"><paramref name="value"/> is <see langword="null" /> or not an instance of <see cref="T:System.Windows.Media.Media3D.Point4D" />.
-or-
<paramref name="destinationType"/> is not one of the valid destination types.</exception>

Comment on lines +193 to +194
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type
which can be converted to a Point4D.</exception>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type
which can be converted to a Point4D.</exception>
<exception cref="T:System.NotSupportedException"><paramref name="value"/> <see langword="null" /> or is not a valid type which can be converted to a <see cref="T:System.Windows.Media.Media3D.Point4D" />.</exception>

Comment on lines +229 to +230
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if "value" is <see langword="null" /> or not an instance of Point3D,
or if the destinationType isn't one of the valid destination types.</exception>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if "value" is <see langword="null" /> or not an instance of Point3D,
or if the destinationType isn't one of the valid destination types.</exception>
<exception cref="T:System.NotSupportedException"><paramref name="value"/> is <see langword="null" /> or not an instance of <see cref="T:System.Windows.Media.Media3D.Point3D" />.
-or-
<paramref name="destinationType"/> is not one of the valid destination types.</exception>

Comment on lines +193 to +194
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type
which can be converted to a Point3D.</exception>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<exception cref="T:System.NotSupportedException">A NotSupportedException is thrown if the example object is <see langword="null" /> or is not a valid type
which can be converted to a Point3D.</exception>
<exception cref="T:System.NotSupportedException"><paramref name="value"/> is <see langword="null" /> or is not a valid type which can be converted to a <see cref="T:System.Windows.Media.Media3D.Point3D" />.</exception>

@carlossanlop
Copy link
Contributor

@ryalanms ping. We don't have much time to generate the updated intellisense. There are several suggestions that need to be applied. Here, and in the other PRs.

@BillWagner
Copy link
Member

closing as abandoned

@BillWagner BillWagner closed this Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-WPF Issues or PRs that relate to WPF or XAML.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants