Defines the fluent API for configuring ChatMessageBoxFileSelectButtonSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatMessageBoxFileSelectButtonSettingsBuilder
Inheritance: objectChatMessageBoxFileSelectButtonSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the ChatMessageBoxFileSelectButtonSettingsBuilder class.
public ChatMessageBoxFileSelectButtonSettingsBuilder(ChatMessageBoxFileSelectButtonSettings container)
Properties
protected ChatMessageBoxFileSelectButtonSettings Container { get; }
Methods
The accept attribute for the file input element (e.g., "image/*").
public ChatMessageBoxFileSelectButtonSettingsBuilder Accept(string value)
The value for Accept
Returns:ChatMessageBoxFileSelectButtonSettingsBuilder
Returns the current ChatMessageBoxFileSelectButtonSettingsBuilder instance.
Enables or disables the file select button.
public ChatMessageBoxFileSelectButtonSettingsBuilder Enable(bool value)
The value for Enable
Returns:ChatMessageBoxFileSelectButtonSettingsBuilder
Returns the current ChatMessageBoxFileSelectButtonSettingsBuilder instance.
Whether to allow multiple file selection.
public ChatMessageBoxFileSelectButtonSettingsBuilder Multiple(bool value)
The value for Multiple
Returns:ChatMessageBoxFileSelectButtonSettingsBuilder
Returns the current ChatMessageBoxFileSelectButtonSettingsBuilder instance.
File restrictions configuration.
public ChatMessageBoxFileSelectButtonSettingsBuilder Restrictions(Action<ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder> configurator)
The ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder for the restrictions setting.
Returns:ChatMessageBoxFileSelectButtonSettingsBuilder
Returns the current instance of ChatMessageBoxFileSelectButtonSettingsBuilder .