Method AddBinding
| Improve this Doc View SourceAddBinding(Int32, Int32, ScalarBinding)
Adds scalar binding.
Declaration
public DataPresenter.TemplateBuilder AddBinding(int column, int row, ScalarBinding scalarBinding)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | column | Index of grid column. |
| System.Int32 | row | Index of grid row. |
| ScalarBinding | scalarBinding | The scalar binding. |
Returns
| Type | Description |
|---|---|
| DataPresenter.TemplateBuilder | This template builder for fluent coding. |
AddBinding(Int32, Int32, Int32, Int32, ScalarBinding)
Adds scalar binding.
Declaration
public DataPresenter.TemplateBuilder AddBinding(int left, int top, int right, int bottom, ScalarBinding scalarBinding)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | left | Index of left grid column. |
| System.Int32 | top | Index of top grid row. |
| System.Int32 | right | Index of right grid column. |
| System.Int32 | bottom | Index of bottom grid row. |
| ScalarBinding | scalarBinding | The scalar binding. |
Returns
| Type | Description |
|---|---|
| DataPresenter.TemplateBuilder | This template builder for fluent coding. |
AddBinding(Int32, Int32, BlockBinding)
Adds block binding.
Declaration
public DataPresenter.TemplateBuilder AddBinding(int column, int row, BlockBinding blockBinding)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | column | Index of grid column. |
| System.Int32 | row | Index of grid row. |
| BlockBinding | blockBinding | The block binding. |
Returns
| Type | Description |
|---|---|
| DataPresenter.TemplateBuilder | This template builder for fluent coding. |
AddBinding(Int32, Int32, Int32, Int32, BlockBinding)
Adds block binding.
Declaration
public DataPresenter.TemplateBuilder AddBinding(int left, int top, int right, int bottom, BlockBinding blockBinding)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | left | Index of left grid column. |
| System.Int32 | top | Index of top grid row. |
| System.Int32 | right | Index of right grid column. |
| System.Int32 | bottom | Index of bottom grid row. |
| BlockBinding | blockBinding | The block binding. |
Returns
| Type | Description |
|---|---|
| DataPresenter.TemplateBuilder | This template builder for fluent coding. |
AddBinding(Int32, Int32, RowBinding)
Adds row binding.
Declaration
public DataPresenter.TemplateBuilder AddBinding(int column, int row, RowBinding rowBinding)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | column | Index of grid column. |
| System.Int32 | row | Index of grid row. |
| RowBinding | rowBinding | The row binding. |
Returns
| Type | Description |
|---|---|
| DataPresenter.TemplateBuilder | This template builder for fluent coding. |
AddBinding(Int32, Int32, Int32, Int32, RowBinding)
Adds row binding.
Declaration
public DataPresenter.TemplateBuilder AddBinding(int left, int top, int right, int bottom, RowBinding rowBinding)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | left | Index of left grid column. |
| System.Int32 | top | Index of top grid row. |
| System.Int32 | right | Index of right grid column. |
| System.Int32 | bottom | Index of bottom grid row. |
| RowBinding | rowBinding | The row binding. |
Returns
| Type | Description |
|---|---|
| DataPresenter.TemplateBuilder | This template builder for fluent coding. |