New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring ChatMessageBoxFileSelectButtonRestrictionsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder

Inheritance: objectChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder class.

C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder(ChatMessageBoxFileSelectButtonRestrictionsSettings container)
Parameters:containerChatMessageBoxFileSelectButtonRestrictionsSettings

Properties

C#
protected ChatMessageBoxFileSelectButtonRestrictionsSettings Container { get; }

Methods

Array of allowed file extensions (e.g., [".jpg", ".png", ".pdf"]).

C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder AllowedExtensions(params string[] value)
Parameters:valuestring[]

The value for AllowedExtensions

Returns:

ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder

Returns the current ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder instance.

Maximum file size in bytes.

C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder MaxFileSize(double value)
Parameters:valuedouble

The value for MaxFileSize

Returns:

ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder

Returns the current ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder instance.

Minimum file size in bytes.

C#
public ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder MinFileSize(double value)
Parameters:valuedouble

The value for MinFileSize

Returns:

ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder

Returns the current ChatMessageBoxFileSelectButtonRestrictionsSettingsBuilder instance.