-
Notifications
You must be signed in to change notification settings - Fork 80
Building XAML Controls
Arlo Godfrey edited this page Mar 12, 2024
·
1 revision
We encourage developers to follow the following guidelines when submitting Pull Requests for controls:
- Your control must be usable and efficient with the keyboard only.
- Tab order must be logical.
- Focused controls must be visible.
- Action must be triggered when hitting the Enter key.
- Do not use custom colors but instead rely on theme colors so high contrasts themes can be used with your control.
- Add AutomationProperties.Name on all controls to define the controlβs purpose (Name is minimum, but there are some other things too that can help the screen reader).
- Don't use the same Name on two different elements unless they have different control types.
- Use Narrator Dev mode (Launch Narrator [WinKey+Enter], then CTRL+F12) to test the screen reader experience.
- Is the information sufficient, meaningful, and helps the user navigate and understand your control.
- Ensure that you have run your XAML file changes through Xaml Styler (version 2.3+), which can be downloaded from here. Do not worry about the settings for this as they are set at the project level (settings.xamlstyler).
You can find more information about these topics here.
- Home π
- Welcome π
- Principles βοΈ
- Roadmap πΊ
- .NET Foundation
- Why Microsoft supports this project
- License π
- Getting Started π
- Sample App π±
- NuGet Packages π¦
- Preview Packages π
- Toolkit Labs π§ͺ
- Questions β
- Discussions π₯
- Submitting an Issue βοΈ
- Good First Issue π
- Help Wanted π
- Bug Fixes π
- Feature Requests π«
- Create and Submit PullRequest π
- Documentation π
- Review PR π
- Avoid Roadblocks π§
- Required Dependencies π
- Quick Start β‘
- Sample Development π±
- Testing π§ͺ
- Accessibility Guideline βΏ
- Coding Style and Conventions β
- Building XAML Controls π
- CI and Infrastructure πΎ
- Updating ToolkitLabs.dev π
- Migration Guide from v7 to v8 π
- How the Project is Organized ποΈ
- Join the Toolkit Organization πͺ
- Hall of Fame π