# ControlUpdateMode

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Determines when changes to a data source value are updated in the data-bound control.

{% tabs %}
{% tab title="C#" %}

```csharp
public enum ControlUpdateMode : Enum
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Enum ControlUpdateMode As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| Name                  | Description                                                                                                                                                                                                                             |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Never**             | The bound control is never updated. Binding is "write-only" with respect to the data source. To force the control property to be updated, use the [ReadValue](https://docs.wisej.com/api/wisej.web/wisej.web.binding#readvalue) method. |
| **OnPropertyChanged** | The bound control is updated whenever the data changes, or the data source position changes. This is the default update mode.                                                                                                           |

## Used By

| Name                                                                                                    | Description                                                                                   |
| ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [IBinding.ControlUpdateMode](https://docs.wisej.com/api/wisej.web/wisej.web.ibinding#controlupdatemode) | Returns or sets when changes to the data source are propagated to the bound control property. |
| [Binding.ControlUpdateMode](https://docs.wisej.com/api/wisej.web/wisej.web.binding#controlupdatemode)   | Returns or sets when changes to the data source are propagated to the bound control property. |
