TwoWayBindingExpression<TSource, TOwner, TValue>

A complete direct two-way binding.
public sealed class TwoWayBindingExpression<TSource, TOwner, TValue> : BindingExpression<TValue?> where TSource : class where TOwner : class?
Type parameterSummary
(class) TSourceThe root binding source type.
(class?) TOwnerThe object that owns the selected value.
TValueThe selected source value type.

Methods

Deconstruct

Returns the typed source binding and writer used to compose this two-way binding.

public void Deconstruct(
  out BindingExpression<TSource, TOwner, TValue> expression,
  out Action<TOwner, TValue> write)
ParameterSummary
BindingExpression<TSource, TOwner, TValue> expressionThe original readable binding path.
Action<TOwner, TValue> writeThe original control-to-source writer.

UpdateOn

Chooses when control changes are written to the source.

public WritableBindingExpression<TValue?> UpdateOn(
  UpdateTrigger trigger)
ParameterSummary
UpdateTrigger triggerWhen to write control changes.

Returns