Binding
Wisej.Web.Binding
Last updated
Was this helpful?
Wisej.Web.Binding
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents the simple binding between the property value of an object and the property value of a control.
Initializes a new instance of the class that simple-binds the indicated control property to the specified data member of the data source.
propertyName
The name of the control property to bind.
dataSource
dataMember
The property or list to bind to.
Throws:
propertyName is neither a valid property of a control nor an empty string ("").
The property given by propertyName does not exist on the control.
Initializes a new instance of the class that binds the indicated control property to the specified data member of the data source, and optionally enables formatting to be applied.
propertyName
The name of the control property to bind.
dataSource
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
Throws:
propertyName
The name of the control property to bind.
dataSource
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
dataSourceUpdateMode
Throws:
propertyName
The name of the control property to bind.
dataSource
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
dataSourceUpdateMode
nullValue
Throws:
propertyName
The name of the control property to bind.
dataSource
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
dataSourceUpdateMode
nullValue
formatString
One or more format specifier characters that indicate how a value is to be displayed.
Throws:
propertyName
The name of the control property to bind.
dataSource
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
dataSourceUpdateMode
nullValue
formatString
One or more format specifier characters that indicate how a value is to be displayed.
formatInfo
Throws:
An that represents the data source.
An that represents the data source.
The property given by propertyName does not exist on the control; or the property given is a read-only property.
Formatting is disabled and propertyName is neither a valid property of a control nor an empty string ("").
Initializes a new instance of the class that binds the specified control property to the specified data member of the specified data source. Optionally enables formatting and propagates values to the data source based on the specified update setting.
An representing the data source.
One of the values.
The property given by propertyName does not exist on the control; or the data source or data member or control property specified are associated with another binding in the collection.
Initializes a new instance of the class that binds the indicated control property to the specified data member of the specified data source. Optionally enables formatting, propagates values to the data source based on the specified update setting, and sets the property to the specified value when a is returned from the data source.
An representing the data source.
One of the values.
The to be applied to the bound control property if the data source value is .
The property given by propertyName does not exist on the control; or the data source or data member or control property specified are associated with another binding in the collection.
Initializes a new instance of the class that binds the specified control property to the specified data member of the specified data source. Optionally enables formatting with the specified format string; propagates values to the data source based on the specified update setting; and sets the property to the specified value when a is returned from the data source.
An representing the data source.
One of the values.
The to be applied to the bound control property if the data source value is .
The property given by propertyName does not exist on the control; or the data source or data member or control property specified are associated with another binding in the collection.
Initializes a new instance of the class with the specified control property to the specified data member of the specified data source. Optionally enables formatting with the specified format string; propagates values to the data source based on the specified update setting; enables formatting with the specified format string; sets the property to the specified value when a is returned from the data source; and sets the specified format provider.
An representing the data source.
One of the values.
The to be applied to the bound control property if the data source value is .
An implementation of to override default formatting behavior.
The property given by propertyName does not exist on the control; or the data source or data member or control property specified are associated with another binding in the collection.
: Returns the control the is associated with.
: Return the binding information based on the dataMember parameter in the constructor.
: Returns the control that the binding belongs to.
: Returns or sets when changes to the data source are propagated to the bound control property.
: Returns or sets a value that indicates when changes to the bound control property are propagated to the data source.
Fired when the property true and a binding operation is completed.
Fired when the property of a control is bound to a data value.
Fired when the value of a data-bound control changes.