Method AddBehavior
| Improve this Doc View SourceAddBehavior<T>(RowBinding<T>, IRowBindingBehavior<T>)
Adds behavior to row binding.
Declaration
public static RowBinding<T> AddBehavior<T>(this RowBinding<T> rowBinding, IRowBindingBehavior<T> behavior)
where T : UIElement, new()
Parameters
Type | Name | Description |
---|---|---|
RowBinding<T> | rowBinding | The row binding. |
IRowBindingBehavior<T> | behavior | The behavior. |
Returns
Type | Description |
---|---|
RowBinding<T> | The row binding for fluent coding. |
Type Parameters
Name | Description |
---|---|
T | Element type of row binding. |
AddBehavior<T>(ScalarBinding<T>, IScalarBindingBehavior<T>)
Adds behavior to scalar binding.
Declaration
public static ScalarBinding<T> AddBehavior<T>(this ScalarBinding<T> scalarBinding, IScalarBindingBehavior<T> behavior)
where T : UIElement, new()
Parameters
Type | Name | Description |
---|---|---|
ScalarBinding<T> | scalarBinding | The scalar binding. |
IScalarBindingBehavior<T> | behavior | The behavior. |
Returns
Type | Description |
---|---|
ScalarBinding<T> | The scalar binding for fluent coding. |
Type Parameters
Name | Description |
---|---|
T | Element type of row binding. |
AddBehavior<T>(BlockBinding<T>, IBlockBindingBehavior<T>)
Adds behavior to block binding.
Declaration
public static BlockBinding<T> AddBehavior<T>(this BlockBinding<T> blockBinding, IBlockBindingBehavior<T> behavior)
where T : UIElement, new()
Parameters
Type | Name | Description |
---|---|---|
BlockBinding<T> | blockBinding | The block binding. |
IBlockBindingBehavior<T> | behavior | The behavior. |
Returns
Type | Description |
---|---|
BlockBinding<T> | The block binding for fluent coding. |
Type Parameters
Name | Description |
---|---|
T | Element type of row binding. |