Binding.DataSourceUpdateMode Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Show: