menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IImageMessage - Xamarin.Forms 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.Dispose()
    IMessage.HideAfterSelection
    IMessage.IsMessageContentHiddenAfterSelection
    IMessage.IsSuggestionViewHiddenAfterSelection
    IMessage.Suggestions
    ITextMessage.Text
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved