Class MessageSwipeEventArgs
Serves as a base class for the MessageSwipingEventArgs, MessageSwipeStartedEventArgs and MessageSwipeEndedEventArgs classes that provides data for the Swiping, SwipeStarted and SwipeEnded events respectively.
Inheritance
System.Object
MessageSwipeEventArgs
Namespace: Syncfusion.XForms.Chat
Assembly: Syncfusion.SfChat.XForms.dll
Syntax
public class MessageSwipeEventArgs : EventArgs
Constructors
MessageSwipeEventArgs(IMessage, SwipeDirection)
Initializes a new instance of the MessageSwipeEventArgs class.
Declaration
public MessageSwipeEventArgs(IMessage message, SwipeDirection swipeDirection)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message | The instance of the message being swiped. |
SwipeDirection | swipeDirection | The direction of the swiped message. |
Properties
Message
Gets the instance of the IMessage that is swiped.
Declaration
public IMessage Message { get; }
Property Value
Type |
---|
IMessage |
SwipeDirection
Gets the direction in which the message is being swiped.
Declaration
public SwipeDirection SwipeDirection { get; }
Property Value
Type | Description |
---|---|
SwipeDirection | The direction of the swiped message. |