DataSourceUpdateMode Enumeration
Assembly: System.Windows.Forms (in system.windows.forms.dll)
| Member name | Description | |
|---|---|---|
![]() | Never | Data source is never updated and values entered into the control are not parsed, validated or re-formatted. |
![]() | OnPropertyChanged | Data source is updated whenever the value of the control property changes. |
![]() | OnValidation | Data source is updated when the control property is validated, After validation, the value in the control property will also be re-formatted. |
When a control is bound to a data source using a Binding object, you can specify when an update to the data source will occur using the DataSourceUpdateMode enumeration.
When the update mode is Never, you can force the data source to be updated by using the WriteValue method.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
