TwoWayConverterPair(Func, Func) constructor¶
Defined in
Type: TwoWayConverterPairReactiveUI.Binding.Reactive.Fallback
Assembly: ReactiveUI.Binding.Reactive.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-ios18.0, net9.0-macos15.0, net9.0-desktop1.0, net8.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, netstandard2.1, net481, net462, net471
public TwoWayConverterPair(Func<TSourceProp, TTargetProp> Forward, Func<TTargetProp, TSourceProp> Reverse)
Summary: The pair of conversions a two-way binding needs to move a value in either direction.
Parameters
| Name | Type | Description |
|---|---|---|
Forward | Func | Converts a source value to the target's type. |
Reverse | Func | Converts a target value back to the source's type. |
Remarks
The two conversions only ever travel together, so they are carried as one value rather than as two
parameters threaded through every overload that forwards them.