TemplateContext.Bind<T> method (1 of 10)
이 콘텐츠는 아직 번역되지 않았습니다.
Binds a property to an observable value and clears that binding on the next Reset. Binding the same target property twice registers one cleanup.
public void Bind<T>(MewObject target, MewProperty<T> property, ObservableValue<T> source, BindingMode? mode = default)See Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class ObservableValue<T>
- enum BindingMode
- class TemplateContext
- namespace Aprillz.MewUI.Controls
TemplateContext.Bind<TRoot,T> method (2 of 10)
Section titled “TemplateContext.Bind<TRoot,T> method (2 of 10)”Binds a property along a path from a source root and clears the whole path on the next Reset.
public void Bind<TRoot, T>(MewObject target, MewProperty<T> property, TRoot source, BindingPath<TRoot, T> path, BindingMode? mode = default, T fallbackValue = default) where TRoot : classSee Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class BindingPath<TRoot,TValue>
- enum BindingMode
- class TemplateContext
- namespace Aprillz.MewUI.Controls
TemplateContext.Bind<TProp,TSource> method (3 of 10)
Section titled “TemplateContext.Bind<TProp,TSource> method (3 of 10)”Binds a property to a converted observable value and clears that binding on the next Reset.
public void Bind<TProp, TSource>(MewObject target, MewProperty<TProp> property, ObservableValue<TSource> source, Func<TSource, TProp> convert, Func<TProp, TSource>? convertBack = null, BindingMode? mode = default)See Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class ObservableValue<T>
- enum BindingMode
- class TemplateContext
- namespace Aprillz.MewUI.Controls
TemplateContext.Bind<TProp,T1,T2> method (4 of 10)
Section titled “TemplateContext.Bind<TProp,T1,T2> method (4 of 10)”Binds a property to a value that combine computes from two inputs and clears that binding and its input subscriptions on the next Reset. The binding is always OneWay and shows the default value of TProp while any input is unavailable.
public void Bind<TProp, T1, T2>(MewObject target, MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, Func<T1, T2, TProp> combine)See Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class BindingInput<TValue>
- class TemplateContext
- namespace Aprillz.MewUI.Controls
TemplateContext.Bind<TProp,T1,T2> method (5 of 10)
Section titled “TemplateContext.Bind<TProp,T1,T2> method (5 of 10)”Binds a property to a value that combine computes from two inputs and clears that binding and its input subscriptions on the next Reset. The binding is always OneWay and shows fallbackValue while any input is unavailable.
public void Bind<TProp, T1, T2>(MewObject target, MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, TProp fallbackValue, Func<T1, T2, TProp> combine)See Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class BindingInput<TValue>
- class TemplateContext
- namespace Aprillz.MewUI.Controls
TemplateContext.Bind<TProp,TRoot,TSource> method (6 of 10)
Section titled “TemplateContext.Bind<TProp,TRoot,TSource> method (6 of 10)”Binds a property along a converted path from a source root and clears the whole path on the next Reset.
public void Bind<TProp, TRoot, TSource>(MewObject target, 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 TRoot : classSee Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class BindingPath<TRoot,TValue>
- enum BindingMode
- class TemplateContext
- namespace Aprillz.MewUI.Controls
TemplateContext.Bind<TProp,T1,T2,T3> method (7 of 10)
Section titled “TemplateContext.Bind<TProp,T1,T2,T3> method (7 of 10)”Binds a property to a value that combine computes from three inputs and clears that binding and its input subscriptions on the next Reset. The binding is always OneWay and shows the default value of TProp while any input is unavailable.
public void Bind<TProp, T1, T2, T3>(MewObject target, MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, BindingInput<T3> third, Func<T1, T2, T3, TProp> combine)See Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class BindingInput<TValue>
- class TemplateContext
- namespace Aprillz.MewUI.Controls
TemplateContext.Bind<TProp,T1,T2,T3> method (8 of 10)
Section titled “TemplateContext.Bind<TProp,T1,T2,T3> method (8 of 10)”Binds a property to a value that combine computes from three inputs and clears that binding and its input subscriptions on the next Reset. The binding is always OneWay and shows fallbackValue while any input is unavailable.
public void Bind<TProp, T1, T2, T3>(MewObject target, MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, BindingInput<T3> third, TProp fallbackValue, Func<T1, T2, T3, TProp> combine)See Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class BindingInput<TValue>
- class TemplateContext
- namespace Aprillz.MewUI.Controls
TemplateContext.Bind<TProp,T1,T2,T3,T4> method (9 of 10)
Section titled “TemplateContext.Bind<TProp,T1,T2,T3,T4> method (9 of 10)”Binds a property to a value that combine computes from four inputs and clears that binding and its input subscriptions on the next Reset. The binding is always OneWay and shows the default value of TProp while any input is unavailable.
public void Bind<TProp, T1, T2, T3, T4>(MewObject target, MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, BindingInput<T3> third, BindingInput<T4> fourth, Func<T1, T2, T3, T4, TProp> combine)See Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class BindingInput<TValue>
- class TemplateContext
- namespace Aprillz.MewUI.Controls
TemplateContext.Bind<TProp,T1,T2,T3,T4> method (10 of 10)
Section titled “TemplateContext.Bind<TProp,T1,T2,T3,T4> method (10 of 10)”Binds a property to a value that combine computes from four inputs and clears that binding and its input subscriptions on the next Reset. The binding is always OneWay and shows fallbackValue while any input is unavailable.
public void Bind<TProp, T1, T2, T3, T4>(MewObject target, MewProperty<TProp> property, BindingInput<T1> first, BindingInput<T2> second, BindingInput<T3> third, BindingInput<T4> fourth, TProp fallbackValue, Func<T1, T2, T3, T4, TProp> combine)See Also
Section titled “See Also”- class MewObject
- class MewProperty<T>
- class BindingInput<TValue>
- class TemplateContext
- namespace Aprillz.MewUI.Controls