ControlUpdateMode Enumeration

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public enum ControlUpdateMode

Member nameDescription
Never

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

OnPropertyChanged

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

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.

.NET Framework
Available since 2.0
Return to top
Show: