콘텐츠로 이동

BindingExtensions.Bind<TElement,T> method (1 of 23)

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

Binds a MewProperty to another MewObject’s MewProperty and returns the element for chaining.

public static TElement Bind<TElement, T>(this TElement element, MewProperty<T> property,
MewObject source, MewProperty<T> sourceProperty)
where TElement : MewObject
parameter description
TElement Target object type.
T Property value type.
element Target object.
property Target property.
source Source object.
sourceProperty Source property.

The target object for chaining.


BindingExtensions.Bind<TElement,T> method (2 of 23)

Section titled “BindingExtensions.Bind<TElement,T> method (2 of 23)”

Binds a MewProperty to an ObservableValue and returns the element for chaining.

public static TElement Bind<TElement, T>(this TElement element, MewProperty<T> property,
ObservableValue<T> source, BindingMode? mode = default)
where TElement : MewObject
parameter description
TElement Target object type.
T Property value type.
element Target object.
property Target property.
source Observable source.
mode Optional binding mode.

The target object for chaining.


BindingExtensions.Bind<TElement,TSource,T> method (3 of 23)

Section titled “BindingExtensions.Bind<TElement,TSource,T> method (3 of 23)”

Binds a property to an ObservableValue reached through source and returns the element for chaining.

public static TElement Bind<TElement, TSource, T>(this TElement element, MewProperty<T> property,
TSource source, Func<TSource, ObservableValue<T>> selector, BindingMode? mode = default)
where TElement : MewObject
where TSource : class

BindingExtensions.Bind<TElement,TRoot,T> method (4 of 23)

Section titled “BindingExtensions.Bind<TElement,TRoot,T> method (4 of 23)”

Binds a property to a reusable delegate-based path and returns the element for chaining.

public static TElement Bind<TElement, TRoot, T>(this TElement element, MewProperty<T> property,
TRoot source, BindingPath<TRoot, T> path, BindingMode? mode = default,
T fallbackValue = default)
where TElement : MewObject
where TRoot : class

BindingExtensions.Bind<TElement,TProp,TSource> method (5 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource> method (5 of 23)”

Binds a MewProperty to a converted ObservableValue and returns the element for chaining.

public static TElement Bind<TElement, TProp, TSource>(this TElement element,
MewProperty<TProp> property, ObservableValue<TSource> source, Func<TSource, TProp> convert,
Func<TProp, TSource>? convertBack = null, BindingMode? mode = default)
where TElement : MewObject
parameter description
TElement Target object type.
TProp Target property value type.
TSource Source value type.
element Target object.
property Target property.
source Observable source.
convert Source-to-target converter.
convertBack Optional target-to-source converter.
mode Optional binding mode.

The target object for chaining.


BindingExtensions.Bind<TElement,TSource,T> method (6 of 23)

Section titled “BindingExtensions.Bind<TElement,TSource,T> method (6 of 23)”

Binds a property to a single notifying property of source and returns the element for chaining; omitting setter makes the binding OneWay.

public static TElement Bind<TElement, TSource, T>(this TElement element, MewProperty<T> property,
TSource source, Func<TSource, T> getter, Action<TSource, T>? setter = null,
BindingMode? mode = default, string? getterExpression = null)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged

BindingExtensions.Bind<TElement,TProp,TSource> method (7 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource> method (7 of 23)”

Binds a MewProperty to another MewObject’s converted MewProperty and returns the element for chaining.

public static TElement Bind<TElement, TProp, TSource>(this TElement element,
MewProperty<TProp> property, MewObject source, MewProperty<TSource> sourceProperty,
Func<TSource, TProp> convert, Func<TProp, TSource>? convertBack = null,
BindingMode? mode = default)
where TElement : MewObject
parameter description
TElement Target object type.
TProp Target property value type.
TSource Source property value type.
element Target object.
property Target property.
source Source object.
sourceProperty Source property.
convert Source-to-target converter.
convertBack Optional target-to-source converter.
mode Optional binding mode.

The target object for chaining.


BindingExtensions.Bind<TElement,TSource,T> method (8 of 23)

Section titled “BindingExtensions.Bind<TElement,TSource,T> method (8 of 23)”

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.

public static TElement Bind<TElement, TSource, T>(this TElement element, MewProperty<T> property,
TSource source, Func<TSource, T> getter, T fallbackValue, Action<TSource, T>? setter = null,
BindingMode? mode = default, string? getterExpression = null)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged

BindingExtensions.Bind<TElement,TProp,T1,T2> method (9 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,T1,T2> method (9 of 23)”

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.

public static TElement Bind<TElement, TProp, T1, T2>(this TElement element,
MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second,
Func<T1, T2, TProp> combine)
where TElement : MewObject

BindingExtensions.Bind<TElement,TProp,T1,T2> method (10 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,T1,T2> method (10 of 23)”

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.

public static TElement Bind<TElement, TProp, T1, T2>(this TElement element,
MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second,
TProp fallbackValue, Func<T1, T2, TProp> combine)
where TElement : MewObject

BindingExtensions.Bind<TElement,TProp,TRoot,TSource> method (11 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TRoot,TSource> method (11 of 23)”

Binds a property to a converted reusable delegate-based path and returns the element for chaining.

public static TElement Bind<TElement, TProp, TRoot, TSource>(this TElement element,
MewProperty<TProp> property, TRoot source, BindingPath<TRoot, TSource> path,
Func<TSource, TProp> convert, Func<TProp, TSource>? convertBack = null,
BindingMode? mode = default, TProp fallbackValue = default)
where TElement : MewObject
where TRoot : class

BindingExtensions.Bind<TElement,TProp,TSource,TValue> method (12 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource,TValue> method (12 of 23)”

Binds a property to a converted single notifying property of source and returns the element for chaining.

public static TElement Bind<TElement, TProp, TSource, TValue>(this TElement element,
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 = default,
string? getterExpression = null)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged

BindingExtensions.Bind<TElement,TProp,TSource,TValue> method (13 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource,TValue> method (13 of 23)”

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.

public static TElement Bind<TElement, TProp, TSource, TValue>(this TElement element,
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 = default,
string? getterExpression = null)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged

BindingExtensions.Bind<TElement,TProp,T1,T2,T3> method (14 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,T1,T2,T3> method (14 of 23)”

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.

public static TElement Bind<TElement, TProp, T1, T2, T3>(this TElement element,
MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second,
BindingInput<T3> third, Func<T1, T2, T3, TProp> combine)
where TElement : MewObject

BindingExtensions.Bind<TElement,TProp,T1,T2,T3> method (15 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,T1,T2,T3> method (15 of 23)”

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.

public static TElement Bind<TElement, TProp, T1, T2, T3>(this TElement element,
MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second,
BindingInput<T3> third, TProp fallbackValue, Func<T1, T2, T3, TProp> combine)
where TElement : MewObject

BindingExtensions.Bind<TElement,TProp,TSource,T1,T2> method (16 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource,T1,T2> method (16 of 23)”

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.

public static TElement Bind<TElement, TProp, TSource, T1, T2>(this TElement element,
MewProperty<TProp> property, TSource source, Func<TSource, T1> first, Func<TSource, T2> second,
Func<T1, T2, TProp> combine, string? firstExpression = null, string? secondExpression = null)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged
exception condition
ArgumentException Thrown when a getter is not a single member access such as x => x.Name and the binding path generator did not rewrite it.

BindingExtensions.Bind<TElement,TProp,TSource,T1,T2> method (17 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource,T1,T2> method (17 of 23)”

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.

public static TElement Bind<TElement, TProp, TSource, T1, T2>(this TElement element,
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)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged
exception condition
ArgumentException Thrown when a getter is not a single member access such as x => x.Name and the binding path generator did not rewrite it.

BindingExtensions.Bind<TElement,TProp,T1,T2,T3,T4> method (18 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,T1,T2,T3,T4> method (18 of 23)”

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.

public static TElement Bind<TElement, TProp, T1, T2, T3, T4>(this TElement element,
MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second,
BindingInput<T3> third, BindingInput<T4> fourth, Func<T1, T2, T3, T4, TProp> combine)
where TElement : MewObject

BindingExtensions.Bind<TElement,TProp,T1,T2,T3,T4> method (19 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,T1,T2,T3,T4> method (19 of 23)”

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.

public static TElement Bind<TElement, TProp, T1, T2, T3, T4>(this TElement element,
MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second,
BindingInput<T3> third, BindingInput<T4> fourth, TProp fallbackValue,
Func<T1, T2, T3, T4, TProp> combine)
where TElement : MewObject

BindingExtensions.Bind<TElement,TProp,TSource,T1,T2,T3> method (20 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource,T1,T2,T3> method (20 of 23)”

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.

public static TElement Bind<TElement, TProp, TSource, T1, T2, T3>(this TElement element,
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)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged
exception condition
ArgumentException Thrown when a getter is not a single member access such as x => x.Name and the binding path generator did not rewrite it.

BindingExtensions.Bind<TElement,TProp,TSource,T1,T2,T3> method (21 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource,T1,T2,T3> method (21 of 23)”

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.

public static TElement Bind<TElement, TProp, TSource, T1, T2, T3>(this TElement element,
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)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged
exception condition
ArgumentException Thrown when a getter is not a single member access such as x => x.Name and the binding path generator did not rewrite it.

BindingExtensions.Bind<TElement,TProp,TSource,T1,T2,T3,T4> method (22 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource,T1,T2,T3,T4> method (22 of 23)”

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.

public static TElement Bind<TElement, TProp, TSource, T1, T2, T3, T4>(this TElement element,
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)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged
exception condition
ArgumentException Thrown when a getter is not a single member access such as x => x.Name and the binding path generator did not rewrite it.

BindingExtensions.Bind<TElement,TProp,TSource,T1,T2,T3,T4> method (23 of 23)

Section titled “BindingExtensions.Bind<TElement,TProp,TSource,T1,T2,T3,T4> method (23 of 23)”

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.

public static TElement Bind<TElement, TProp, TSource, T1, T2, T3, T4>(this TElement element,
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)
where TElement : MewObject
where TSource : class, INotifyPropertyChanged
exception condition
ArgumentException Thrown when a getter is not a single member access such as x => x.Name and the binding path generator did not rewrite it.