Method BindToLabel
| Improve this Doc View SourceBindToLabel<TTarget>(Column, RowBinding<TTarget>, String, IFormatProvider)
Binds column to System.Windows.Controls.Label.
Declaration
public static RowBinding<Label> BindToLabel<TTarget>(this Column source, RowBinding<TTarget> target, string format = null, IFormatProvider formatProvider = null)
where TTarget : UIElement, new()
Parameters
| Type | Name | Description |
|---|---|---|
| Column | source | The source column. |
| RowBinding<TTarget> | target | The target row binding. |
| System.String | format | A composite format string. |
| System.IFormatProvider | formatProvider | An object that supplies culture-specific formatting information. |
Returns
| Type | Description |
|---|---|
| RowBinding<System.Windows.Controls.Label> | The row binding object. |
Type Parameters
| Name | Description |
|---|---|
| TTarget | The element type of target row binding. |
BindToLabel(String)
Binds the string to System.Windows.Controls.Label.
Declaration
public static ScalarBinding<Label> BindToLabel(this string source)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | source | The source string. |
Returns
| Type | Description |
|---|---|
| ScalarBinding<System.Windows.Controls.Label> | The scalar binding object. |
BindToLabel<TTarget>(String, ScalarBinding<TTarget>)
Binds the string to System.Windows.Controls.Label, with specified target scalar binding.
Declaration
public static ScalarBinding<Label> BindToLabel<TTarget>(this string source, ScalarBinding<TTarget> target)
where TTarget : UIElement, new()
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | source | The source string. |
| ScalarBinding<TTarget> | target | The target scalar binding. |
Returns
| Type | Description |
|---|---|
| ScalarBinding<System.Windows.Controls.Label> | The scalar binding object. |
Type Parameters
| Name | Description |
|---|---|
| TTarget | The element type of target scalar binding. |