# WindowActionsBuilder

## Methods

### Close()

Configures the window to show a close button.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Window()
                        .Name("Window")
                        .Actions(actions => actions.Close())
            )
             
```

### Maximize()

Configures the window to show a maximize button.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Window()
                        .Name("Window")
                        .Actions(actions => actions.Maximize())
            )
             
```

### Minimize()

Configures the window to show a minimize button.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Window()
                        .Name("Window")
                        .Actions(actions => actions.Maximize())
            )
             
```

### Refresh()

Configures the window to show a refresh button.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Window()
                        .Name("Window")
                        .Actions(actions => actions.Refresh())
            )
             
```

### Pin()

Configures the window to show a pin button.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Window()
                        .Name("Window")
                        .Actions(actions => actions.Pin())
            )
             
```

### Custom(System.String)

Configures the window to show a refresh button.

#### Parameters

##### actionName - `System.String`

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Window()
                        .Name("Window")
                        .Actions(actions => actions.Custom("menu"))
            )
             
```

### Clear()

Configures the window to show no buttons in its titlebar.

#### RETURNS

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

#### Example

```
 
             @(Html.Kendo().Window()
                        .Name("Window")
                        .Actions(actions => actions.Clear())
            )
             
```
