-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Type of issue
Missing information
Description
I'm using this behavior in a collection view to display images, and I want to handle the long press command.
LongPressCommandParameter="{Binding .}" However, the currently touched image's bound view model can't be passed to the command, where it shows null as the view model's value.
Page URL
Content source URL
https://github.com/MicrosoftDocs/CommunityToolkit/blob/main/docs/maui/behaviors/touch-behavior.md
Document Version Independent Id
98a8e0a6-ef8e-7427-100f-7b4448e0ffce
Platform Id
28950eda-3f84-b0ac-bd2b-243cce75aa34
Article author
Metadata
- ID: 98a8e0a6-ef8e-7427-100f-7b4448e0ffce
- PlatformId: 28950eda-3f84-b0ac-bd2b-243cce75aa34
- Service: dotnet-communitytoolkit
- Sub-service: dotnet-maui-community-toolkit