Interface IImageMessage
Defines properties that can be used to display an image message in SfChat control.
Inherited Members
Namespace: Syncfusion.Maui.Chat
Assembly: Syncfusion.Maui.Chat.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 |
---|
Microsoft.Maui.Aspect |
Size
Gets or sets the size of an image message.
Declaration
Size Size { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.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 |
---|
Microsoft.Maui.Controls.ImageSource |