Edit

Share via


ControlUpdateMode Enum

Definition

Determines when changes to a data source value get propagated to the corresponding data-bound control property.

C#
public enum ControlUpdateMode
Inheritance
ControlUpdateMode

Fields

Name Value Description
OnPropertyChanged 0

The bound control is updated when the data source value changes, or the data source position changes.

Never 1

The bound control is never updated when a data source value changes. The data source is write-only.

Remarks

The ControlUpdateMode is used by the ControlUpdateMode property of the Binding class. OnPropertyChanged is the default value. To force a control update when the update mode is Never, use the ReadValue method on the related Binding.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9