Defines the fluent API for configuring the ChatFileAttachmentSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatFileAttachmentSettingsBuilder
Inheritance: objectChatFileAttachmentSettingsBuilder
Inherited Members
Constructors
Initialize the ChatFileAttachmentSettingsBuilder
public ChatFileAttachmentSettingsBuilder(ChatFileAttachmentSettings settings)
Methods
The accept attribute for the file input, specifying which file types are allowed.
public ChatFileAttachmentSettingsBuilder Accept(string value)
The value that configures the accept.
Returns:The fill mode for the button (e.g., "flat", "solid", "outline").
public ChatFileAttachmentSettingsBuilder FillMode(ButtonFillMode value)
The value that configures the fillmode.
Returns:The icon name for the file select button.
public ChatFileAttachmentSettingsBuilder Icon(string value)
The value that configures the icon.
Returns:Whether to allow multiple file selection.
public ChatFileAttachmentSettingsBuilder Multiple(bool value)
The value that configures the multiple.
Returns:File restrictions configuration.
public ChatFileAttachmentSettingsBuilder Restrictions(Action<ChatFileAttachmentRestrictionsSettingsBuilder> configurator)
The action that configures the restrictions.
Returns:The border radius for the button (e.g., "small", "medium", "large", "full").
public ChatFileAttachmentSettingsBuilder Rounded(Rounded value)
The value that configures the rounded.
Returns:The size of the button (e.g., "small", "medium", "large").
public ChatFileAttachmentSettingsBuilder Size(ComponentSize value)
The value that configures the size.
Returns:The theme color for the button (e.g., "base", "primary", "secondary").
public ChatFileAttachmentSettingsBuilder ThemeColor(ThemeColor value)
The value that configures the themecolor.
Returns: