Skip to content

Add XML documentation to Controls.Core.Design and enable CS1591#33680

Merged
rmarinho merged 2 commits intomainfrom
docs/core-design-api-docs-complete
Jan 22, 2026
Merged

Add XML documentation to Controls.Core.Design and enable CS1591#33680
rmarinho merged 2 commits intomainfrom
docs/core-design-api-docs-complete

Conversation

@jfversluis
Copy link
Member

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description

Adds XML documentation to all public members in Microsoft.Maui.Controls.Core.Design (design-time tooling) and enables CS1591 as a warning-as-error to prevent future documentation gaps.

This is the final project needed for 100% API documentation coverage across the entire MAUI repository.

Changes

Type Converters Documented (24 files)

  • BoundsDesignTypeConverter - Bounds values
  • ButtonContentDesignTypeConverter - Button content layout
  • ColorDesignTypeConverter - Color values
  • ConstraintDesignTypeConverter - Constraint values
  • CornerRadiusDesignTypeConverter - Corner radius
  • EasingDesignTypeConverter - Easing functions
  • FlexJustifyDesignTypeConverter - FlexLayout justify
  • FlexDirectionDesignTypeConverter - FlexLayout direction
  • FlexAlignContentDesignTypeConverter - FlexLayout align content
  • FlexAlignItemsDesignTypeConverter - FlexLayout align items
  • FlexAlignSelfDesignTypeConverter - FlexLayout align self
  • FlexWrapDesignTypeConverter - FlexLayout wrap
  • FlexBasisDesignTypeConverter - FlexLayout basis
  • FlowDirectionDesignTypeConverter - Flow direction
  • FontSizeDesignTypeConverter - Font sizes
  • GridLengthDesignTypeConverter - Grid lengths
  • GridLengthCollectionDesignTypeConverter - Grid length collections
  • ImageSourceDesignTypeConverter - Image sources
  • ItemsLayoutDesignTypeConverter - Items layout
  • KeyboardDesignTypeConverter - Keyboard types
  • KnownValuesDesignTypeConverter - Base class
  • LayoutOptionsDesignTypeConverter - Layout options
  • LinearItemsLayoutDesignTypeConverter - Linear items layout
  • PointTypeDesignConverter - Point values
  • RectTypeDesignConverter - Rect values
  • SafeAreaEdgesTypeDesignConverter - Safe area regions
  • ThicknessTypeDesignConverter - Thickness values
  • VisibilityDesignTypeConverter - Visibility
  • VisualDesignTypeConverter - Visual values

Build Configuration

  • Added GenerateDocumentationFile: true
  • Added WarningsAsErrors: CS1591
  • Added SafeAreaEdgesTypeDesignConverter.cs to csproj

Stats

  • 24 files changed
  • +174 lines of documentation

- Add documentation to all 24 design-time type converter classes
- Add XML docs to KnownValuesDesignTypeConverter base class
- Add SafeAreaEdgesTypeDesignConverter.cs to csproj
- Enable GenerateDocumentationFile and WarningsAsErrors CS1591
- Build verified with 0 warnings, 0 errors
Copilot AI review requested due to automatic review settings January 22, 2026 15:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds XML documentation to all public members in the Microsoft.Maui.Controls.Core.Design project and enables CS1591 as a warning-as-error to enforce documentation coverage going forward. This represents the final project needed for 100% API documentation coverage across the MAUI repository.

Changes:

  • Added XML documentation summaries to 24 type converter classes
  • Added <inheritdoc/> tags for overridden base class methods
  • Enabled GenerateDocumentationFile and WarningsAsErrors: CS1591 in the project file
  • Added SafeAreaEdgesTypeDesignConverter.cs to the compile items list

Reviewed changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Controls.Core.Design.csproj Enabled XML documentation generation and CS1591 as error; added SafeAreaEdgesTypeDesignConverter to build
BoundsDesignTypeConverter.cs Added XML documentation for design-time Bounds type conversion
ButtonContentDesignTypeConverter.cs Added XML documentation for button content layout conversion
ColorDesignTypeConverter.cs Added XML documentation for Color values conversion
ConstraintDesignTypeConverter.cs Added XML documentation for constraint values conversion
CornerRadiusDesignTypeConverter.cs Added XML documentation for CornerRadius conversion
EasingDesignTypeConverter.cs Added XML documentation for Easing function conversion
FlexEnumDesignTypeConverters.cs Added XML documentation for all FlexLayout-related converters (Justify, Direction, AlignContent, AlignItems, AlignSelf, Wrap, Basis)
FlowDirectionDesignTypeConverter.cs Added XML documentation for FlowDirection conversion
FontSizeDesignTypeConverter.cs Added XML documentation for font size conversion
GridLengthDesignTypeConverter.cs Added XML documentation for GridLength conversion
GridLengthCollectionDesignTypeConverter.cs Added XML documentation for GridLength collection conversion
ImageSourceDesignTypeConverter.cs Added XML documentation for ImageSource conversion
ItemsLayoutDesignTypeConverter.cs Added XML documentation for items layout conversion
KeyboardDesignTypeConverter.cs Added XML documentation for Keyboard type conversion
KnownValuesDesignTypeConverter.cs Added XML documentation for base converter class with known values
LayoutOptionsDesignTypeConverter.cs Added XML documentation for LayoutOptions conversion
LinearItemsLayoutDesignTypeConverter.cs Added XML documentation for LinearItemsLayout conversion
PointTypeDesignConverter.cs Added XML documentation for Point conversion
RectTypeDesignConverter.cs Added XML documentation for Rect conversion
SafeAreaEdgesTypeDesignConverter.cs Added XML documentation for SafeAreaEdges conversion
ThicknessTypeDesignConverter.cs Added XML documentation for Thickness conversion
VisibilityDesignTypeConverter.cs Added XML documentation for visibility conversion
VisualDesignTypeConverter.cs Added XML documentation for Visual values conversion

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jfversluis jfversluis added the area-docs Conceptual docs, API docs, Samples label Jan 22, 2026
@jfversluis jfversluis added this to the .NET 10.0 SR4 milestone Jan 22, 2026
@rmarinho rmarinho merged commit c1cd943 into main Jan 22, 2026
21 of 28 checks passed
@rmarinho rmarinho deleted the docs/core-design-api-docs-complete branch January 22, 2026 19:12
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-docs Conceptual docs, API docs, Samples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants