# ChatFileAttachmentSettingsBuilder

## Methods

### Icon(System.String)

The icon name for the file select button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

#### Parameters

##### icon - `System.String`

The icon.

#### RETURNS

Returns the current instance of [ChatFileAttachmentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentsettingsbuilder) .

### Icon(System.Action)

The icon name for the file select button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

#### Parameters

##### configurator - System.Action<[ChatFileAttachmentIconSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmenticonsettingsbuilder)>

The configurator for the icon setting.

#### RETURNS

Returns the current instance of [ChatFileAttachmentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentsettingsbuilder) .

### FillMode(Kendo.Mvc.UI.ButtonFillMode)

The fill mode for the button (e.g., "flat", "solid", "outline").

#### Parameters

##### value - [ButtonFillMode](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/buttonfillmode)

The value for FillMode

#### RETURNS

Returns the current [ChatFileAttachmentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentsettingsbuilder) instance.

### Rounded(Kendo.Mvc.UI.Rounded)

The border radius for the button (e.g., "small", "medium", "large", "full").

#### Parameters

##### value - [Rounded](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/rounded)

The value for Rounded

#### RETURNS

Returns the current [ChatFileAttachmentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentsettingsbuilder) instance.

### Size(Kendo.Mvc.UI.ComponentSize)

The size of the button (e.g., "small", "medium", "large").

#### Parameters

##### value - [ComponentSize](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/componentsize)

The value for Size

#### RETURNS

Returns the current [ChatFileAttachmentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentsettingsbuilder) instance.

### ThemeColor(Kendo.Mvc.UI.ThemeColor)

The theme color for the button (e.g., "base", "primary", "secondary").

#### Parameters

##### value - [ThemeColor](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/themecolor)

The value for ThemeColor

#### RETURNS

Returns the current [ChatFileAttachmentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentsettingsbuilder) instance.

### Multiple(System.Boolean)

Whether to allow multiple file selection.

#### Parameters

##### value - `System.Boolean`

The value for Multiple

#### RETURNS

Returns the current [ChatFileAttachmentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentsettingsbuilder) instance.

### Accept(System.String)

The accept attribute for the file input, specifying which file types are allowed.

#### Parameters

##### value - `System.String`

The value for Accept

#### RETURNS

Returns the current [ChatFileAttachmentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentsettingsbuilder) instance.

### Restrictions(System.Action)

File restrictions configuration.

#### Parameters

##### configurator - System.Action<[ChatFileAttachmentRestrictionsSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentrestrictionssettingsbuilder)>

The configurator for the restrictions setting.

#### RETURNS

Returns the current instance of [ChatFileAttachmentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chatfileattachmentsettingsbuilder) .
