WinUIValidation
For implamentation take a look at the ValidationExamples project.
XAML Form Validation for WinUI