New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI ChatFileAttachmentSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatFileAttachmentSettings

Inheritance: objectChatFileAttachmentSettings

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public ChatFileAttachmentSettings()

Properties

The accept attribute for the file input, specifying which file types are allowed.

C#
public string Accept { get; set; }

Chat member.

C#
public Chat Chat { get; set; }

Configures the file select button (attachment button) in the message input area. Can be set to: true: Shows the button with default settings; false: Hides the button completely (does not render) or Object: Shows the button with custom configuration.

C#
public bool? Enabled { get; set; }

The fill mode for the button (e.g., "flat", "solid", "outline").

C#
public ButtonFillMode? FillMode { get; set; }
C#
public string Icon { get; set; }

The icon name for the file select button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public ChatFileAttachmentIconSettings IconSettings { get; }

Whether to allow multiple file selection.

C#
public bool? Multiple { get; set; }

File restrictions configuration.

C#
public ChatFileAttachmentRestrictionsSettings Restrictions { get; }

The border radius for the button (e.g., "small", "medium", "large", "full").

C#
public Rounded? Rounded { get; set; }

The size of the button (e.g., "small", "medium", "large").

C#
public ComponentSize? Size { get; set; }

The theme color for the button (e.g., "base", "primary", "secondary").

C#
public ThemeColor? ThemeColor { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>