Kendo.Mvc.UI.Fluent.ColorPickerEventBuilder

Defines the fluent API for configuring the Kendo UI ColorPicker for ASP.NET MVC events.

Methods

Change(System.String)

Fires when a color was selected, either by clicking on it (in the simple picker), by clicking ENTER or by pressing "Apply" in the HSV picker.

For additional information check the change event documentation.

Parameters

handler System.String

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

Change(System.Func<System.Object,System.Object>)

Fires when a color was selected, either by clicking on it (in the simple picker), by clicking ENTER or by pressing "Apply" in the HSV picker.

For additional information check the change event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Select(System.String)

Fires as a new color is displayed in the drop-down picker. This is not necessarily the "final" value; for example this event triggers when the sliders in the HSV selector are dragged, but then pressing ESC would cancel the selection and the color will revert to the original value.

For additional information check the select event documentation.

Parameters

handler System.String

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

Select(System.Func<System.Object,System.Object>)

Fires as a new color is displayed in the drop-down picker. This is not necessarily the "final" value; for example this event triggers when the sliders in the HSV selector are dragged, but then pressing ESC would cancel the selection and the color will revert to the original value.

For additional information check the select event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Open(System.String)

Fires when the picker popup is opening.

For additional information check the open event documentation.

Parameters

handler System.String

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

Open(System.Func<System.Object,System.Object>)

Fires when the picker popup is opening.

For additional information check the open event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Close(System.String)

Fires when the picker popup is closing.

For additional information check the close event documentation.

Parameters

handler System.String

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

Close(System.Func<System.Object,System.Object>)

Fires when the picker popup is closing.

For additional information check the close event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?