menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IImageMessage - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IImageMessage

    Defines properties that can be used to display an image message in SfChat control.

    Inherited Members
    IMessage.Author
    IMessage.Data
    IMessage.DateTime
    IMessage.DeliveryState
    IMessage.HideAfterSelection
    IMessage.IsMessageContentHiddenAfterSelection
    IMessage.IsSuggestionViewHiddenAfterSelection
    IMessage.Suggestions
    ITextMessage.Text
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved