Method WithInput
| Improve this Doc View SourceWithInput<TData>(Trigger<T>, Trigger<T>, Scalar<TData>, Func<T, TData>)
Sets input implementation from specified scalar data.
Declaration
public ScalarBinding<T> WithInput<TData>(Trigger<T> flushingTrigger, Trigger<T> progressiveFlushingTrigger, Scalar<TData> data, Func<T, TData> getValue)
Parameters
Type | Name | Description |
---|---|---|
Trigger<T> | flushingTrigger | The flushing trigger. |
Trigger<T> | progressiveFlushingTrigger | The progressive flushing trigger. |
Scalar<TData> | data | The scalar data. |
System.Func<T, TData> | getValue | The delegate to get data value from view element. |
Returns
Type | Description |
---|---|
ScalarBinding<T> | This scalar binding for fluent coding. |
Type Parameters
Name | Description |
---|---|
TData | Data type of scalar data. |
WithInput<TData>(Trigger<T>, Scalar<TData>, Func<T, TData>)
Sets input implementation from specified scalar data.
Declaration
public ScalarBinding<T> WithInput<TData>(Trigger<T> flushingTrigger, Scalar<TData> data, Func<T, TData> getValue)
Parameters
Type | Name | Description |
---|---|---|
Trigger<T> | flushingTrigger | The flushing trigger. |
Scalar<TData> | data | The scalar data. |
System.Func<T, TData> | getValue | The delegate to get data value from view element. |
Returns
Type | Description |
---|---|
ScalarBinding<T> | This scalar binding for fluent coding. |
Type Parameters
Name | Description |
---|---|
TData | Data type of scalar data. |
WithInput<TData>(DependencyProperty, RoutedEvent, Scalar<TData>, Func<T, TData>)
Sets input implementation with specified scalar data.
Declaration
public ScalarBinding<T> WithInput<TData>(DependencyProperty dependencyProperty, RoutedEvent progressiveFlushingRoutedEvent, Scalar<TData> data, Func<T, TData> getValue)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyProperty | dependencyProperty | The dependency property for flushing. |
System.Windows.RoutedEvent | progressiveFlushingRoutedEvent | The routed event for progressive flushing. |
Scalar<TData> | data | The scalar data. |
System.Func<T, TData> | getValue | The delegate to get data value from view element. |
Returns
Type | Description |
---|---|
ScalarBinding<T> | This scalar binding for fluent coding. |
Type Parameters
Name | Description |
---|---|
TData | Data type of column. |
WithInput<TData>(DependencyProperty, Scalar<TData>, Func<T, TData>)
Sets input implementation with specified scalar data.
Declaration
public ScalarBinding<T> WithInput<TData>(DependencyProperty dependencyProperty, Scalar<TData> data, Func<T, TData> getValue)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyProperty | dependencyProperty | The dependency property for flushing. |
Scalar<TData> | data | The scalar data. |
System.Func<T, TData> | getValue | The delegate to get data value from view element. |
Returns
Type | Description |
---|---|
ScalarBinding<T> | This scalar binding for fluent coding. |
Type Parameters
Name | Description |
---|---|
TData | Data type of column. |
WithInput<TData>(RoutedEvent, RoutedEvent, Scalar<TData>, Func<T, TData>)
Sets input implementation with specified scalar data.
Declaration
public ScalarBinding<T> WithInput<TData>(RoutedEvent routedEvent, RoutedEvent progressiveFlushingRoutedEvent, Scalar<TData> data, Func<T, TData> getValue)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.RoutedEvent | routedEvent | The routed event for flushing. |
System.Windows.RoutedEvent | progressiveFlushingRoutedEvent | The routed event for progressive flushing. |
Scalar<TData> | data | The scalar data. |
System.Func<T, TData> | getValue | The delegate to get data value from view element. |
Returns
Type | Description |
---|---|
ScalarBinding<T> | This scalar binding for fluent coding. |
Type Parameters
Name | Description |
---|---|
TData | Data type of column. |