TileLayoutEventBuilder
Methods
Resize(System.String)
Defines the handler of the Resize client-side event. Fires when a tile item is resized.
For more information see Resize event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Resize event.
Example
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Events(events => events.Resize("onResize"))
)
Resize(System.Func)
Defines the handler of the Resize client-side event. Fires when a tile item is resized.
For more information see Resize event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Events(events => events.Resize(@<text>
function(e) {
// Handle the Resize event inline.
}
</text>)
)
)
Reorder(System.String)
Defines the handler of the Reorder client-side event. Fires when a tile item is reordered.
For more information see Reorder event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Reorder event.
Example
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Events(events => events.Reorder("onReorder"))
)
Reorder(System.Func)
Defines the handler of the Reorder client-side event. Fires when a tile item is reordered.
For more information see Reorder event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Events(events => events.Reorder(@<text>
function(e) {
// Handle the Reorder event inline.
}
</text>)
)
)