TileLayoutEventBuilder
Methods
Resize(System.String)
Defines the handler of the Resize client-side event. Fired 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.
RETURNS
Returns the current instance of TileLayoutEventBuilder .
Example
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Events(events => events.Resize("onResize"))
)
Resize(System.Func)
Defines the handler of the Resize client-side event. Fired 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.
RETURNS
Returns the current instance of TileLayoutEventBuilder .
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. Fired 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.
RETURNS
Returns the current instance of TileLayoutEventBuilder .
Example
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Events(events => events.Reorder("onReorder"))
)
Reorder(System.Func)
Defines the handler of the Reorder client-side event. Fired 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.
RETURNS
Returns the current instance of TileLayoutEventBuilder .
Example
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Events(events => events.Reorder(@<text>
function(e) {
// Handle the Reorder event inline.
}
</text>)
)
)
KendoKeydown(System.String)
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the TileLayout is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see KendoKeydown event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the KendoKeydown event.
RETURNS
Returns the current instance of TileLayoutEventBuilder .
KendoKeydown(System.Func)
Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the TileLayout is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see KendoKeydown event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of TileLayoutEventBuilder .