# AppBarEventBuilder

## Methods

### Resize(System.String)

Defines the handler of the Resize client-side event. Fired when the window is resized.

For more information see [Resize](https://docs.telerik.com/kendo-ui/api/ui/appbar/events/resize) event.

#### Parameters

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

The name of the JavaScript function that will handle the Resize event.

#### RETURNS

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

#### Example

```
 
                @(Html.Kendo().AppBar()
                   .Name("AppBar")
                   .Events(events => events
                        .Resize("onResize")
                   )
                )
             
```

### Resize(System.Func)

Defines the handler of the Resize client-side event. Fired when the window is resized.

For more information see [Resize](https://docs.telerik.com/kendo-ui/api/ui/appbar/events/resize) event.

#### Parameters

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

The handler code wrapped in a text tag.

#### RETURNS

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

#### Example

```
 
                @(Html.Kendo().AppBar()
                    .Name("AppBar")
                    .Events(events => events
                          .Resize(@<text>
                               function() {
                                  // Handle event.
                               }
                              </text>)
                    )
                )
             
```
