IBinding

Wisej.Web.IBinding

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Defines a component's binding instance.

public interface IBinding

Properties

BindableComponent

IBindableComponent: Returns the IBindableComponent.

BindingMemberInfo

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

ControlUpdateMode

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

DataSource

Object: Returns the data source for this binding.

DataSourceNullValue

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

DataSourceUpdateMode

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

FormatInfo

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

FormatString

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

FormattingEnabled

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

NullValue

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

PropertyName

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

Methods

ReadValue()

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

WriteValue()

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

Implemented By

Name
Description

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

Last updated

Was this helpful?