Interface IImageMessage
Defines properties that can be used to display an image message in SfChat control.
Inherited Members
Namespace: Syncfusion.XForms.Chat
Assembly: Syncfusion.SfChat.XForms.dll
Syntax
public interface IImageMessage : ITextMessage, IMessage
Properties
Aspect
Gets or sets the scaling mode of an image.
Declaration
Aspect Aspect { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Aspect |
Size
Gets or sets the size of an image message.
Declaration
Size Size { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Size |
Remarks
The maximum width of an image message is restricted to 80% of the chat control's width to ensure consistent UI among messages.
Source
Gets or sets the source of an image.
Declaration
ImageSource Source { get; set; }
Property Value
Type |
---|
Xamarin.Forms.ImageSource |