Skip to main content
Version: 3.5

IBinding

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Defines a component's binding instance.

public interface IBinding

Properties

Instance memberBindableComponent

IBindableComponent: Returns the IBindableComponent.

Instance memberBindingMemberInfo

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

Instance memberControlUpdateMode

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

Instance memberDataSource

Object: Returns the data source for this binding.

Instance memberDataSourceNullValue

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

Instance memberDataSourceUpdateMode

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

Instance memberFormatInfo

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

Instance memberFormatString

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

Instance memberFormattingEnabled

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

Instance memberNullValue

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

Instance memberPropertyName

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

Methods

Instance memberReadValue()

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

Instance memberWriteValue()

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.