Class MessageSwipingEventArgs
Provides data for the Swiping event.
Namespace: Syncfusion.Maui.Chat
Assembly: Syncfusion.Maui.Chat.dll
Syntax
public class MessageSwipingEventArgs : MessageSwipeEventArgs
Constructors
MessageSwipingEventArgs(IMessage, SwipeDirection)
Initializes a new instance of the MessageSwipingEventArgs class.
Declaration
public MessageSwipingEventArgs(IMessage message, SwipeDirection swipeDirection)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message | The instance of the message being swiped. |
Microsoft.Maui.SwipeDirection | swipeDirection | The direction of the swiped message. |
Properties
Handled
Gets or sets a value indicating whether the swipe offset of the currently swiped message should remain the same until the SwipeEnded event is raised.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
SwipeOffSet
Gets the swipe offset of the current message that is being swiped.
Declaration
public double SwipeOffSet { get; }
Property Value
Type | Description |
---|---|
System.Double | The current swipe offset of the message. |