C# Class SourceGrid.Cells.Controllers.BindProperty

Summary description for BindProperty.
Inheritance: ControllerBase
Mostra file Open project: zhuangyy/Motion Class Usage Examples

Public Methods

Method Description
BindProperty ( System p_Property, object p_LinkObject ) : System

Constructor

OnValueChanged ( CellContext sender, EventArgs e ) : void

OnValueChanged

Protected Methods

Method Description
BindValueAtProperty ( System p_Property, object p_LinkObject ) : void

Bind the cell's value with the property p_Property of the object p_LinkObject when the cell's value change also the property change

UnBindValueAtProperty ( ) : void

UnBind the cell with the property

Method Details

BindProperty() public method

Constructor
public BindProperty ( System p_Property, object p_LinkObject ) : System
p_Property System Property of the object that you want to lint to the cell. When the value of the cell changed this behavior call automatically this property.
p_LinkObject object Instance of the object to link
return System

BindValueAtProperty() protected method

Bind the cell's value with the property p_Property of the object p_LinkObject when the cell's value change also the property change
protected BindValueAtProperty ( System p_Property, object p_LinkObject ) : void
p_Property System linked property
p_LinkObject object Can be null to call static property
return void

OnValueChanged() public method

OnValueChanged
public OnValueChanged ( CellContext sender, EventArgs e ) : void
sender CellContext
e System.EventArgs
return void

UnBindValueAtProperty() protected method

UnBind the cell with the property
protected UnBindValueAtProperty ( ) : void
return void