Conversation
Updated `NavigationTrans.cs` with detailed XML documentation for methods and properties related to navigation transitions in .NET MAUI. Added new attached properties for transition durations and types, along with methods to get and set these properties. Documented custom transition methods for Android and iOS, and introduced a new method, `GetTransitions`, to retrieve custom animation transitions. Enhanced `README.md` with a new section on basic usage, including examples for applying transitions in XAML and C#. Added a list of available built-in transitions and instructions for creating custom animations for both Android and iOS. Add navigation transitions and update documentation - Enhanced `NavigationTrans.cs` with new attached properties and methods for configuring navigation transitions in .NET MAUI, including duration and transition types for Android and iOS. - Updated `PJ.NavigationTrans.Maui.csproj` to include a README file in the package and adjusted project settings for consistency. - Improved `README.md` with detailed usage instructions and examples for applying transitions in XAML and C#.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR improves the documentation and usage examples for configuring navigation transitions in .NET MAUI while adding new attached properties and methods for custom Android and iOS transitions.
- Enhanced NavigationTrans.cs with detailed XML documentation and new methods for setting platform-specific transitions.
- Updated README.md with basic usage examples in both XAML and C#, and listed built-in transitions along with custom animation instructions.
- Adjusted PJ.NavigationTrans.Maui.csproj to include the README file and update project settings for consistency.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Added a new "Basic Usage" section with code examples for XAML and C#. |
| PJ.NavigationTrans.Maui/PJ.NavigationTrans.Maui.csproj | Updated project configuration to include README.md and fixed a spelling mistake. |
| PJ.NavigationTrans.Maui/NavigationTrans.cs | Updated XML documentation for attached properties/methods and added new transition methods. |
Comments suppressed due to low confidence (1)
PJ.NavigationTrans.Maui/PJ.NavigationTrans.Maui.csproj:21
- There's a typo in 'animatinos'; it should be 'animations'.
<Description>This project allows you to use custom animatinos during navigation in .NET MAUI</Description>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated
NavigationTrans.cswith detailed XML documentation for methods and properties related to navigation transitions in .NET MAUI. Added new attached properties for transition durations and types, along with methods to get and set these properties. Documented custom transition methods for Android and iOS, and introduced a new method,GetTransitions, to retrieve custom animation transitions.Enhanced
README.mdwith a new section on basic usage, including examples for applying transitions in XAML and C#. Added a list of available built-in transitions and instructions for creating custom animations for both Android and iOS.Add navigation transitions and update documentation
NavigationTrans.cswith new attached properties and methods for configuring navigation transitions in .NET MAUI, including duration and transition types for Android and iOS.PJ.NavigationTrans.Maui.csprojto include a README file in the package and adjusted project settings for consistency.README.mdwith detailed usage instructions and examples for applying transitions in XAML and C#.