Skip to main content
Version: 3.5

DataSourceUpdateMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Specifies when a data source is updated when the bound control properties are changed.

public enum DataSourceUpdateMode : Enum

Fields

NameDescription
NeverThe data source is never updated and values entered into the control are not parsed, or re-formatted.
OnPropertyChangedThe data source is updated whenever the value of the control property changes.
OnValidationThe data source is updated when the control property is validated.

Used By

NameDescription
IBinding.DataSourceUpdateModeReturns or sets a value that indicates when changes to the bound control property are propagated to the data source.
Binding.DataSourceUpdateModeReturns or sets a value that indicates when changes to the bound control property are propagated to the data source.
ControlBindingsCollection.DefaultDataSourceUpdateModeReturns or sets the default DataSourceUpdateMode for a Binding in the collection.
ControlBindingsCollection.AddCreates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting, propagating values to the data source based on the specified update setting, and adding the binding to the collection.