New to Telerik UI for ASP.NET Core? 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))
            )

MinWidth(System.String)

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

Parameters

minWidth - System.String

Example


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

MaxWidth(System.String)

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

Parameters

maxWidth - System.String

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

minHeight - System.String

Example


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

MaxHeight(System.String)

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

Parameters

maxHeight - System.String

Example


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

In this article
Not finding the help you need?