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

AppBarEventBuilder

Methods

Resize(System.String)

Fired when the window is resized.

For more information see Resize event.

Parameters

handler - System.String

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

Example


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

Resize(System.Func)

Fired when the window is resized.

For more information see Resize event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Example


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

In this article
Not finding the help you need?