Method BindTo
| Improve this Doc View SourceBindTo<T>(BasePresenter)
Binds to UI element as scalar binding.
Declaration
public static ScalarBinding<T> BindTo<T>(this BasePresenter source)
where T : UIElement, new()
Parameters
| Type | Name | Description |
|---|---|---|
| BasePresenter | source | The source presenter. |
Returns
| Type | Description |
|---|---|
| ScalarBinding<T> | The scalar binding object. |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the UI element. |
BindTo<T>(Model)
Binds to UI element as row binding.
Declaration
public static RowBinding<T> BindTo<T>(this Model source)
where T : UIElement, new()
Parameters
| Type | Name | Description |
|---|---|---|
| Model | source | The source model. |
Returns
| Type | Description |
|---|---|
| RowBinding<T> | The row binding object. |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the UI element. |