Class
ChatMessageAttachmentView

Represents a view which displays an attachments in the chat messages, specifically visualizes the ChatAttachment inside the RadChatListView.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class ChatMessageAttachmentView : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewChatMessageAttachmentView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

Inherited Members RadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()

Constructors

ChatMessageAttachmentView()

Initializes a new instance of the class.

Declaration

cs-api-definition
public ChatMessageAttachmentView()

Fields

ActionsViewStyleProperty

Identifies the ActionsViewStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActionsViewStyleProperty

Field Value

BindableProperty

AttachmentProperty

Identifies the Attachment property.

Declaration

cs-api-definition
public static readonly BindableProperty AttachmentProperty

Field Value

BindableProperty

ImageStyleProperty

Identifies the ImageStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ImageStyleProperty

Field Value

BindableProperty

SubtitleStyleProperty

Identifies the SubtitleStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty SubtitleStyleProperty

Field Value

BindableProperty

TitleStyleProperty

Identifies the TitleStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty TitleStyleProperty

Field Value

BindableProperty

Properties

ActionsViewStyle

Gets or sets the custom style that represents the actions that can be done upon the Attachments. The taget type of the style must be ChatMessageAttachmentActionsView. The actual style that is applied is a merger of the custom ActionsViewStyle and the default style.

Declaration

cs-api-definition
public Style ActionsViewStyle { get; set; }

Property Value

Style

Attachment

Gets or sets the ChatAttachment this view will represent.

Declaration

cs-api-definition
public ChatAttachment Attachment { get; set; }

Property Value

ChatAttachment

ImageStyle

Gets or sets the custom image style that represents the attachment icon. The taget type of the style must be . The actual style that is applied is a merger of the custom ImageStyle and the default style.

Declaration

cs-api-definition
public Style ImageStyle { get; set; }

Property Value

Style

SubtitleStyle

Gets or sets the custom subtitle style that represents the FileSize. The taget type of the style must be . The actual style that is applied is a merger of the custom SubtitleStyle and the default style.

Declaration

cs-api-definition
public Style SubtitleStyle { get; set; }

Property Value

Style

TitleStyle

Gets or sets the custom title style that represents the FileName. The taget type of the style must be . The actual style that is applied is a merger of the custom TitleStyle and the default style.

Declaration

cs-api-definition
public Style TitleStyle { get; set; }

Property Value

Style