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

WindowResizingSettingsBuilder

Methods

Enabled(System.Boolean)

Enables or disables the Window resizing.

Parameters

enable - System.Boolean

If true, enables the Window resizing.

Example


             @( Html.Kendo().Window()
                        .Name("Window")
                        .Resizable(x => x.Enabled(true))
            )

MinWidth(System.Int32)

Sets the min width of the Window.

Parameters

minWidth - System.Int32

The min width of the Window.

Example


             @( Html.Kendo().Window()
                        .Name("Window")
                        .Resizable(x => x.MinWidth(200))
            )

MaxWidth(System.Int32)

Sets the max width of the Window.

Parameters

maxWidth - System.Int32

The max width of the Window.

Example


             @( Html.Kendo().Window()
                        .Name("Window")
                        .Resizable(x => x.MaxWidth(400))
            )

MinHeight(System.Int32)

Sets the min height of the Window.

Parameters

minHeight - System.Int32

The min height of the Window.

Example


             @( Html.Kendo().Window()
                        .Name("Window")
                        .Resizable(x => x.MinHeight(100))
            )

MaxHeight(System.Int32)

Sets the max height of the Window.

Parameters

maxHeight - System.Int32

The max height of the Window.

Example


             @( Html.Kendo().Window()
                        .Name("Window")
                        .Resizable(x => x.MaxHeight(300))
            )

MaxHeight(System.String)

The maximum height (in pixels) that may be achieved by resizing the window.

Parameters

value - System.String

The value that configures the maxheight.

Example


             @( Html.Kendo().Window()
                        .Name("Window")
                        .Resizable(x => x.MaxHeight("300"))
            )

MaxWidth(System.String)

The maximum width (in pixels) that may be achieved by resizing the window.

Parameters

value - System.String

The value that configures the maxwidth.

Example


             @( Html.Kendo().Window()
                        .Name("Window")
                        .Resizable(x => x.MaxWidth("400"))
            )

MinHeight(System.String)

The minimum height (in pixels) that may be achieved by resizing the window.

Parameters

value - System.String

The value that configures the minheight.

Example


             @( Html.Kendo().Window()
                        .Name("Window")
                        .Resizable(x => x.MinHeight("100"))
            )

MinWidth(System.String)

The minimum width (in pixels) that may be achieved by resizing the window.

Parameters

value - System.String

The value that configures the minwidth.

Example


             @( Html.Kendo().Window()
                        .Name("Window")
                        .Resizable(x => x.MinWidth("200"))
            )

In this article
Not finding the help you need?