콘텐츠로 이동

Binding markup reference

이 콘텐츠는 아직 번역되지 않았습니다.

Generic Bind overloads and binding path builders.

Receiver: BindingPath<TRoot, TOwner>.

Method Sets Summary
Then(MewProperty<TNext> property) Appends an observable MewProperty segment.
ThenIndexed(Func<TOwner, TNext> getter, string getterExpression = null) Appends a read-only segment that reads an indexer and observes the owner’s collection change or indexer change notifications.
ThenNotifying(Func<TOwner, TNext> getter, Action<TOwner, TNext> setter = null, string getterExpression = null) Appends a segment that reads getter and observes the owner’s PropertyChanged for the property that getter names.

Receiver: MewObject and derived types (where T : MewObject).

Method Sets Summary
Bind(MewProperty<T> property, MewObject source, MewProperty<T> sourceProperty) Binds a MewProperty to another MewObject’s MewProperty and returns the element for chaining.
Bind(MewProperty<T> property, ObservableValue<T> source, BindingMode? mode = null) Binds a MewProperty to an ObservableValue and returns the element for chaining.
Bind(MewProperty<T> property, TRoot source, BindingPath<TRoot, T> path, BindingMode? mode = null, T fallbackValue = null) Binds a property to a reusable delegate-based path and returns the element for chaining.
Bind(MewProperty<T> property, TSource source, Func<TSource, ObservableValue<T>> selector, BindingMode? mode = null) Binds a property to an ObservableValue reached through source and returns the element for chaining.
Bind(MewProperty<T> property, TSource source, Func<TSource, T> getter, Action<TSource, T> setter = null, BindingMode? mode = null, string getterExpression = null) Binds a property to a single notifying property of source and returns the element for chaining; omitting setter makes the binding OneWay.
Bind(MewProperty<T> property, TSource source, Func<TSource, T> getter, T fallbackValue, Action<TSource, T> setter = null, BindingMode? mode = null, string getterExpression = null) Binds a property to a notifying property of source, showing fallbackValue while a null intermediate breaks the path, and returns the element for chaining; omitting setter makes the binding OneWay.
Bind(MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, BindingInput<T3> third, BindingInput<T4> fourth, Func<T1, T2, T3, T4, TProp> combine) Binds a property to a value that combine computes from four inputs and returns the element for chaining. The binding is always OneWay and shows the default value of TProp while any input is unavailable.
Bind(MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, BindingInput<T3> third, BindingInput<T4> fourth, TProp fallbackValue, Func<T1, T2, T3, T4, TProp> combine) Binds a property to a value that combine computes from four inputs and returns the element for chaining. The binding is always OneWay and shows fallbackValue while any input is unavailable.
Bind(MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, BindingInput<T3> third, Func<T1, T2, T3, TProp> combine) Binds a property to a value that combine computes from three inputs and returns the element for chaining. The binding is always OneWay and shows the default value of TProp while any input is unavailable.
Bind(MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, BindingInput<T3> third, TProp fallbackValue, Func<T1, T2, T3, TProp> combine) Binds a property to a value that combine computes from three inputs and returns the element for chaining. The binding is always OneWay and shows fallbackValue while any input is unavailable.
Bind(MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, Func<T1, T2, TProp> combine) Binds a property to a value that combine computes from two inputs and returns the element for chaining. The binding is always OneWay and shows the default value of TProp while any input is unavailable.
Bind(MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, TProp fallbackValue, Func<T1, T2, TProp> combine) Binds a property to a value that combine computes from two inputs and returns the element for chaining. The binding is always OneWay and shows fallbackValue while any input is unavailable.
Bind(MewProperty<TProp> property, MewObject source, MewProperty<TSource> sourceProperty, Func<TSource, TProp> convert, Func<TProp, TSource> convertBack = null, BindingMode? mode = null) Binds a MewProperty to another MewObject’s converted MewProperty and returns the element for chaining.
Bind(MewProperty<TProp> property, ObservableValue<TSource> source, Func<TSource, TProp> convert, Func<TProp, TSource> convertBack = null, BindingMode? mode = null) Binds a MewProperty to a converted ObservableValue and returns the element for chaining.
Bind(MewProperty<TProp> property, TRoot source, BindingPath<TRoot, TSource> path, Func<TSource, TProp> convert, Func<TProp, TSource> convertBack = null, BindingMode? mode = null, TProp fallbackValue = null) Binds a property to a converted reusable delegate-based path and returns the element for chaining.
Bind(MewProperty<TProp> property, TSource source, Func<TSource, T1> first, Func<TSource, T2> second, Func<T1, T2, TProp> combine, string firstExpression = null, string secondExpression = null) Binds a property to a value that combine computes from two notifying properties of source and returns the element for chaining. The binding is always OneWay and shows the default value of TProp while any input is unavailable.
Bind(MewProperty<TProp> property, TSource source, Func<TSource, T1> first, Func<TSource, T2> second, Func<TSource, T3> third, Func<T1, T2, T3, TProp> combine, string firstExpression = null, string secondExpression = null, string thirdExpression = null) Binds a property to a value that combine computes from three notifying properties of source and returns the element for chaining. The binding is always OneWay and shows the default value of TProp while any input is unavailable.
Bind(MewProperty<TProp> property, TSource source, Func<TSource, T1> first, Func<TSource, T2> second, Func<TSource, T3> third, Func<TSource, T4> fourth, Func<T1, T2, T3, T4, TProp> combine, string firstExpression = null, string secondExpression = null, string thirdExpression = null, string fourthExpression = null) Binds a property to a value that combine computes from four notifying properties of source and returns the element for chaining. The binding is always OneWay and shows the default value of TProp while any input is unavailable.
Bind(MewProperty<TProp> property, TSource source, Func<TSource, T1> first, Func<TSource, T2> second, Func<TSource, T3> third, Func<TSource, T4> fourth, TProp fallbackValue, Func<T1, T2, T3, T4, TProp> combine, string firstExpression = null, string secondExpression = null, string thirdExpression = null, string fourthExpression = null) Binds a property to a value that combine computes from four notifying properties of source and returns the element for chaining. The binding is always OneWay and shows fallbackValue while any input is unavailable.
Bind(MewProperty<TProp> property, TSource source, Func<TSource, T1> first, Func<TSource, T2> second, Func<TSource, T3> third, TProp fallbackValue, Func<T1, T2, T3, TProp> combine, string firstExpression = null, string secondExpression = null, string thirdExpression = null) Binds a property to a value that combine computes from three notifying properties of source and returns the element for chaining. The binding is always OneWay and shows fallbackValue while any input is unavailable.
Bind(MewProperty<TProp> property, TSource source, Func<TSource, T1> first, Func<TSource, T2> second, TProp fallbackValue, Func<T1, T2, TProp> combine, string firstExpression = null, string secondExpression = null) Binds a property to a value that combine computes from two notifying properties of source and returns the element for chaining. The binding is always OneWay and shows fallbackValue while any input is unavailable.
Bind(MewProperty<TProp> property, TSource source, Func<TSource, TValue> getter, Func<TValue, TProp> convert, Action<TSource, TValue> setter = null, Func<TProp, TValue> convertBack = null, BindingMode? mode = null, string getterExpression = null) Binds a property to a converted single notifying property of source and returns the element for chaining.
Bind(MewProperty<TProp> property, TSource source, Func<TSource, TValue> getter, Func<TValue, TProp> convert, TProp fallbackValue, Action<TSource, TValue> setter = null, Func<TProp, TValue> convertBack = null, BindingMode? mode = null, string getterExpression = null) Binds a property to a converted notifying property of source, showing fallbackValue while a null intermediate breaks the path, and returns the element for chaining.