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.Maui.Chat
Assembly: Syncfusion.Maui.Chat.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. |
Microsoft.Maui.Graphics.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
Declaration
public Point Position { get; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Point |