共用方式為


ISwipeGestureController.DetectSwipe(View, SwipeDirection) Method

Definition

public:
 bool DetectSwipe(Microsoft::Maui::Controls::View ^ sender, Microsoft::Maui::SwipeDirection direction);
public bool DetectSwipe (Microsoft.Maui.Controls.View sender, Microsoft.Maui.SwipeDirection direction);
abstract member DetectSwipe : Microsoft.Maui.Controls.View * Microsoft.Maui.SwipeDirection -> bool
Public Function DetectSwipe (sender As View, direction As SwipeDirection) As Boolean

Parameters

sender
View
direction
SwipeDirection

Returns

Applies to