Method WithStyle
| Improve this Doc View SourceWithStyle<T>(T, Style)
Sets style for binding.
Declaration
public static T WithStyle<T>(this T binding, Style value)
where T : Binding
Parameters
| Type | Name | Description |
|---|---|---|
| T | binding | The binding. |
| System.Windows.Style | value | The style. |
Returns
| Type | Description |
|---|---|
| T | The binding for fluent coding. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the binding. |
WithStyle<T>(T, StyleId)
Sets style for binding.
Declaration
public static T WithStyle<T>(this T binding, StyleId value)
where T : Binding
Parameters
| Type | Name | Description |
|---|---|---|
| T | binding | The binding. |
| StyleId | value | The style id. |
Returns
| Type | Description |
|---|---|
| T | The binding for fluent coding. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the binding. |