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

WindowActionsBuilder

Methods

Close()

Configures the window to show a close button.

Example


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

Maximize()

Configures the window to show a maximize button.

Example


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

Minimize()

Configures the window to show a minimize button.

Example


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

Refresh()

Configures the window to show a refresh button.

Example


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

Pin()

Configures the window to show a pin button.

Example


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

Custom(System.String)

Configures the window to show a custom button.

Parameters

actionName - System.String

Example


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

Clear()

Configures the window to show no buttons in its titlebar.

Example


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

In this article
Not finding the help you need?