Enum
ChatMessageFilesLayoutMode

Controls how file attachments are displayed within Chat messages. Choose from ChatMessageFilesLayoutMode options to best fit your application's design: Vertical (default) stacks files vertically, Horizontal arranges files in a single horizontal row, and Wrap wraps files to the next line when they exceed the message width.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public enum ChatMessageFilesLayoutMode

Fields

Horizontal

Files are displayed in a single horizontal row. Use when you prefer a compact, side-by-side presentation for attachments.

Declaration

cs-api-definition
Horizontal = 1

Field Value

ChatMessageFilesLayoutMode

Vertical

Files are displayed in a vertical stack. This is the default behavior and provides consistent readability for varying attachment sizes.

Declaration

cs-api-definition
Vertical = 0

Field Value

ChatMessageFilesLayoutMode

Wrap

Files wrap to the next line when they exceed the available message width. Use when you want responsive layout behavior without overflowing content.

Declaration

cs-api-definition
Wrap = 2

Field Value

ChatMessageFilesLayoutMode

In this article
DefinitionFieldsHorizontalVerticalWrap
Not finding the help you need?
Contact Support