WindowActionsBuilder

Methods

Close()

Configures the window to show a close button.

Example

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

Maximize()

Configures the window to show a maximize button.

Example

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

Minimize()

Configures the window to show a minimize button.

Example

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

Refresh()

Configures the window to show a refresh button.

Example

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

Pin()

Configures the window to show a pin button.

Example

Razor
 
             @(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

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

Clear()

Configures the window to show no buttons in its titlebar.

Example

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