# FileManagerContextMenuSettingsBuilder

## Methods

### Items(System.Action)

Configures the items of the ContextMenu.

#### Parameters

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

The configurator for the items setting.

#### RETURNS

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

### Close(System.String)

Fires before a sub menu or the ContextMenu gets closed. You can cancel this event to prevent closure. ContextMenu Events.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

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

### Close(System.Func)

Fires before a sub menu or the ContextMenu gets closed. You can cancel this event to prevent closure. ContextMenu Events.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

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

### Open(System.String)

Fires before a sub menu or the ContextMenu gets opened. You can cancel this event to prevent opening the sub menu. ContextMenu Events.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

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

### Open(System.Func)

Fires before a sub menu or the ContextMenu gets opened. You can cancel this event to prevent opening the sub menu. ContextMenu Events.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

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

### Activate(System.String)

Fires when a sub menu or the ContextMenu gets opened and its animation finished. ContextMenu Events.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

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

### Activate(System.Func)

Fires when a sub menu or the ContextMenu gets opened and its animation finished. ContextMenu Events.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

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

### Deactivate(System.String)

Fires when a sub menu or the ContextMenu gets closed and its animation finished. ContextMenu Events.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

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

### Deactivate(System.Func)

Fires when a sub menu or the ContextMenu gets closed and its animation finished. ContextMenu Events.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

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

### Select(System.String)

Fires when a menu item gets selected. ContextMenu Events.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

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

### Select(System.Func)

Fires when a menu item gets selected. ContextMenu Events.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

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