WindowResizingSettingsBuilder
定义了剑道流利的API,用于配置窗口调整设置
方法
启用(System.Boolean)
启用或禁用窗口调整。
参数
使- - - - - -System.Boolean
如果这是真的,使窗口大小调整。
例子
@ (Html.Kendo () .Window () . name(“窗口”).Resizable (x = > x.Enabled(真)))
MinWidth (System.Int32)
设置窗口的最小宽度。
参数
minWidth -System.Int32
窗口的最小宽度。
例子
@ (Html.Kendo () .Window () . name(“窗口”).Resizable (x = > x.MinWidth (200)))
MaxWidth (System.Int32)
设置窗口的最大宽度。
参数
maxWidth -System.Int32
窗口的最大宽度。
例子
@ (Html.Kendo () .Window () . name(“窗口”).Resizable (x = > x.MaxWidth (400)))
MinHeight (System.Int32)
设置窗口的最小高度。
参数
minHeight -System.Int32
窗口的最小高度。
例子
@ (Html.Kendo () .Window () . name(“窗口”).Resizable (x = > x.MinHeight (100)))
MaxHeight (System.Int32)
设置窗口的最大高度。
参数
maxHeight -System.Int32
窗口的最大高度。
例子
@ (Html.Kendo () .Window () . name(“窗口”).Resizable (x = > x.MaxHeight (300)))
MinWidth system . string) (
最小宽度(以像素为单位),可以通过改变窗口大小。
参数
minWidth -System.String
例子
@ (Html.Kendo () .Window () . name(“窗口”).Resizable (x = > x.MinWidth (" 200 ")))
MaxWidth system . string) (
最大宽度(以像素为单位),可以通过改变窗口大小。
参数
maxWidth -System.String
例子
@ (Html.Kendo () .Window () . name(“窗口”).Resizable (x = > x.MaxWidth (" 400 ")))
MinHeight system . string) (
最小的高度(以像素为单位),可以通过改变窗口大小。
参数
minHeight -System.String
例子
@ (Html.Kendo () .Window () . name(“窗口”).Resizable (x = > x.MinHeight (" 100 ")))
MaxHeight system . string) (
最大高度(以像素为单位),可以通过改变窗口大小。
参数
maxHeight -System.String
例子
@ (Html.Kendo () .Window () . name(“窗口”).Resizable (x = > x.MaxHeight (" 300 ")))