Defines the fluent API for configuring the ChatFileAttachmentSettings settings.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatFileAttachmentSettings : JsonObject
Inheritance: objectJsonObjectChatFileAttachmentSettings
Inherited Members
Constructors
Initialization for the ChatFileAttachmentSettings
public ChatFileAttachmentSettings()
Properties
The accept attribute for the file input, specifying which file types are allowed.
public string Accept { 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) - Object: Shows the button with custom configuration
public bool Enabled { get; set; }
The fill mode for the button (e.g., "flat", "solid", "outline").
public ButtonFillMode? FillMode { get; set; }
File restrictions configuration.
public ChatFileAttachmentRestrictionsSettings Restrictions { get; set; }
The border radius for the button (e.g., "small", "medium", "large", "full").
public Rounded? Rounded { get; set; }
The size of the button (e.g., "small", "medium", "large").
public ComponentSize? Size { get; set; }
The theme color for the button (e.g., "base", "primary", "secondary").
public ThemeColor? ThemeColor { get; set; }
Methods
Serialize current instance to Dictionary
protected override void Serialize(IDictionary<string, object> json)
Overrides: