ToggleButtonEventBuilder

Methods

Toggle(System.String)

Fires when the ToggleButton selected state is toggled.

For more information see Toggle event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the toggle event.

RETURNS

Returns the current instance of ToggleButtonEventBuilder .

Toggle(System.Func)

Fires when the ToggleButton selected state is toggled.

For more information see Toggle event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of ToggleButtonEventBuilder .

Click(System.String)

Fires when the ToggleButton selected state is clicked.

For more information see Click event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the click event.

RETURNS

Returns the current instance of ToggleButtonEventBuilder .

Click(System.Func)

Fires when the ToggleButton selected state is clicked.

For more information see Click event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of ToggleButtonEventBuilder .