Defines the fluent API for configuring the ChatMessageBoxFileSelectButtonRestrictionsSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder
Inheritance: objectChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder
Inherited Members
Constructors
Initialize the ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder
C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder(ChatMessageBoxFileSelectButtonRestrictionsSettings settings)
Methods
Array of allowed file extensions (e.g., [".jpg", ".png", ".pdf"]).
C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder AllowedExtensions(params string[] value)
The value that configures the allowedextensions.
Returns:Maximum file size in bytes.
C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder MaxFileSize(double value)
The value that configures the maxfilesize.
Returns:Minimum file size in bytes.
C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder MinFileSize(double value)
The value that configures the minfilesize.
Returns: