Method RegisterValueChangingCallback
RegisterValueChangingCallback<TValueType>(INotifyValueChanging<TValueType>, EventCallback<ChangingEvent<TValueType>>)
Register a callback which will be invoked when the UI component's value is changing.
Declaration
[Preserve]
public static bool RegisterValueChangingCallback<TValueType>(this INotifyValueChanging<TValueType> control, EventCallback<ChangingEvent<TValueType>> callback)
Parameters
| Type | Name | Description |
|---|---|---|
| INotifyValueChanging<TValueType> | control | The UI component. |
| EventCallback<ChangingEvent<TValueType>> | callback | The callback. |
Returns
| Type | Description |
|---|---|
| bool | True if the UI component can handle callbacks, False otherwise. |
Type Parameters
| Name | Description |
|---|---|
| TValueType | The type of value handled by the UI component. |