-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Touch Behavior Sample #1784
Merged
brminnick
merged 6 commits into
CommunityToolkit:main
from
Axemasta:touch-behavior-sample
Apr 28, 2024
Merged
Update Touch Behavior Sample #1784
brminnick
merged 6 commits into
CommunityToolkit:main
from
Axemasta:touch-behavior-sample
Apr 28, 2024
Conversation
This file contains 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
Axemasta
force-pushed
the
touch-behavior-sample
branch
from
April 5, 2024 08:17
6527ab9
to
3daad92
Compare
brminnick
requested changes
Apr 27, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Axemasta! It looks like the LongPress | Hover
section is broken in this update.
Could you fix that? And then we'll merge it!
The sample now shows the recommended way to set the binding context for the touch behavior
Ran dotnet format on the solution, looks like its touch behaviour stuff that needed the formats!
There is now an example of the touch behavior being used to pass a command parameter
Seperate the sections out into more clearly seperated segments for visual clarity
This change set got quite messy when rebasing so I've now resolved everything by hand
Axemasta
force-pushed
the
touch-behavior-sample
branch
2 times, most recently
from
April 28, 2024 21:32
e17e29d
to
977dd34
Compare
Somehow managed to remove this... 🙈
Axemasta
force-pushed
the
touch-behavior-sample
branch
from
April 28, 2024 22:07
977dd34
to
dcec6ff
Compare
@brminnick I've pushed a fix & rebased ontop of main 👍 |
brminnick
approved these changes
Apr 28, 2024
Wonderful! Thank you sir 🫡 |
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.
Description of Change
Update the
TouchBehavior
sample gallery to show the recommended method of setting of setting the binding context for theTouchBehavior
.I have included a new usage with the
CommandParameter
to help clearup some confusion we've been seeing for people consuming thisBehavior
upon release.Linked Issues
N/A
PR Checklist
approved
(bug) orChampioned
(feature/proposal)main
at time of PRDocs PR
Additional information
I've run
dotnet format
and checked that in, some minor changes all in theTouchBehavior
area.Screenshots of changes to the sample: