Binding.DataSourceUpdateMode Property


Gets or sets a value that indicates when changes to the bound control property are propagated to the data source.

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

public DataSourceUpdateMode DataSourceUpdateMode { get; set; }

Property Value

Type: System.Windows.Forms.DataSourceUpdateMode

A value that indicates when changes are propagated. The default is OnValidation.

Note that even if this property is set to Never, the binding will update at least one time, when it is first established.

.NET Framework
Available since 2.0
Return to top