Repository navigation
Add NumericValidationBehavior Interval Docs - #663
Brandon Minnick (TheCodeTraveler) wants to merge 0 commit into
Conversation
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit adb66e8: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The documentation-only update has no blocking issues; the remaining example-completeness suggestion is minor.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Documents NumericValidationBehavior.Interval for .NET MAUI Community Toolkit users.
Changes:
- Adds interval validation guidance and XAML/C# examples.
- Explains rounding limitations and diagnostic tracing.
- Updates property types and revision metadata.
| File | Description |
|---|---|
| docs/maui/behaviors/numeric-validation-behavior.md | Documents interval behavior and updates the property reference. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Gerald Versluis (@jfversluis) This PR is ready to merge |
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |

This pull request updates the documentation for
NumericValidationBehaviorin .NET MAUI Community Toolkit to introduce and explain the newIntervalproperty, which restricts valid input to numeric multiples of a specified value. The documentation now includes detailed guidance, examples in both XAML and C#, and important notes about floating-point precision and validation behavior.New Feature Documentation:
Intervalproperty, including its purpose, usage, and behavior when set to various values. This section includes code examples in both XAML and C#.Intervalproperty, clarifying its type and linking to the new section for more details.Clarifications and Best Practices:
Interval.System.Diagnostics.Trace, helping developers debug input issues.Metadata Update:
ms.datemetadata to reflect the latest documentation revision.