Defines the fluent API for configuring ChatMessageBoxFileSelectButtonRestrictionsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder
Inheritance: objectChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder class.
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder(ChatMessageBoxFileSelectButtonRestrictionsSettings container)
Properties
protected ChatMessageBoxFileSelectButtonRestrictionsSettings Container { get; }
Methods
Array of allowed file extensions (e.g., [".jpg", ".png", ".pdf"]).
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder AllowedExtensions(params string[] value)
The value for AllowedExtensions
Returns:ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder
Returns the current ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder instance.
Maximum file size in bytes.
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder MaxFileSize(double value)
The value for MaxFileSize
Returns:ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder
Returns the current ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder instance.
Minimum file size in bytes.
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder MinFileSize(double value)
The value for MinFileSize
Returns:ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder
Returns the current ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder instance.