Skip to main content
Version: 4.1

IBinding

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Defines a component's binding instance.

public interface IBinding

Properties​

Instance member BindableComponent​

IBindableComponent: Returns the IBindableComponent.

Instance member BindingMemberInfo​

BindingMemberInfo: Return the binding information based on the dataMember parameter in the #ctor constructor.

Instance member ControlUpdateMode​

ControlUpdateMode: Returns or sets when changes to the data source are propagated to the bound control property.

Instance member DataSource​

Object: Returns the data source for this binding.

Instance member DataSourceNullValue​

Object: Returns or sets the value to be stored in the data source if the control value is null or empty.

Instance member DataSourceUpdateMode​

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

Instance member FormatInfo​

IFormatProvider: Returns or sets the IFormatProvider that provides custom formatting behavior.

Instance member FormatString​

String: Returns or sets the format specifier characters that indicate how a value is to be displayed.

Instance member FormattingEnabled​

Boolean: Returns or sets a value indicating whether type conversion and formatting is applied to the control property data.

Instance member NullValue​

Object: Returns or sets the Object to be set as the control property when the data source contains a DBNull value.

Instance member PropertyName​

String: Returns the name of the control's data-bound property.

Methods​

Instance member ReadValue()​

Sets the target property to the value read from the data source.

Instance member WriteValue()​

Reads the current value from the target property and writes it to the data source.

Implemented By​

NameDescription
BindingRepresents the simple binding between the property value of an object and the property value of a IBindableComponent.