Class MessageInteractedEventArgs
Serves as a base class for the MessageTappedEventArgs, MessageDoubleTappedEventArgs and MessageLongPressedEventArgs classes that provides data for the MessageTapped, MessageDoubleTapped and MessageLongPressed events respectively.
Inheritance
System.Object
MessageInteractedEventArgs
Namespace: Syncfusion.XForms.Chat
Assembly: Syncfusion.SfChat.XForms.dll
Syntax
public class MessageInteractedEventArgs : EventArgs
Constructors
MessageInteractedEventArgs(IMessage, Point)
Initializes a new instance of the MessageInteractedEventArgs class.
Declaration
public MessageInteractedEventArgs(IMessage message, Point position)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message | The instance of the interacted message. |
Xamarin.Forms.Point | position | The touch position of the interaction. |
Properties
Message
Gets the instance of the IMessage that was interacted with.
Declaration
public IMessage Message { get; }
Property Value
Type |
---|
IMessage |
Position
Gets the interacted touch position as Xamarin.Forms.Point.
Declaration
public Point Position { get; }
Property Value
Type |
---|
Xamarin.Forms.Point |