콘텐츠로 이동

MewObject class

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

Base class providing the MewProperty system (per-instance value storage, change notification and data binding), analogous to WPF’s DependencyObject.

Guide: C# Markup reference: Binding

public abstract class MewObject
name description
ClearBinding<T>(…) Removes the binding and its target value from the specified property, revealing the next lower value source.
ClearLocalValue<T>(…) Clears only the local value for a property. Attached bindings and their target values are preserved.
SetBinding<T>(…) Binds a MewProperty to an ObservableValue. Replaces any existing binding for the same property. (2 methods)
SetBinding<TRoot,T>(…) Binds a property to a reusable delegate-based path rooted at source. Replaces any existing binding for the same property.
SetBinding<TProp,TSource>(…) Binds a MewProperty to an ObservableValue with type conversion. Replaces any existing binding for the same property. (2 methods)
SetBinding<TSource,T>(…) Binds a property to a single notifying property of source. Omitting setter makes the binding OneWay. Replaces any existing binding for the same property. (3 methods)
SetBinding<TProp,T1,T2>(…) Binds a property to a value that combine computes from two inputs. The binding is always OneWay and shows the default value of TProp while any input is unavailable. Replaces any existing binding for the same property. (2 methods)
SetBinding<TProp,TRoot,TSource>(…) Binds a property to a reusable delegate-based path with type conversion. Replaces any existing binding for the same property.
SetBinding<TProp,TSource,TValue>(…) Binds a property to a single notifying property of source with type conversion. The binding is TwoWay only when both setter and convertBack are supplied. (2 methods)
SetBinding<TProp,T1,T2,T3>(…) Binds a property to a value that combine computes from three inputs. The binding is always OneWay and shows the default value of TProp while any input is unavailable. Replaces any existing binding for the same property. (2 methods)
SetBinding<TProp,TSource,T1,T2>(…) Binds a property to a value that combine computes from two notifying properties of source. The binding is always OneWay and shows the default value of TProp while any input is unavailable. Replaces any existing binding for the same property. (2 methods)
SetBinding<TProp,T1,T2,T3,T4>(…) Binds a property to a value that combine computes from four inputs. The binding is always OneWay and shows the default value of TProp while any input is unavailable. Replaces any existing binding for the same property. (2 methods)
SetBinding<TProp,TSource,T1,T2,T3>(…) Binds a property to a value that combine computes from three notifying properties of source. The binding is always OneWay and shows the default value of TProp while any input is unavailable. Replaces any existing binding for the same property. (2 methods)
SetBinding<TProp,TSource,T1,T2,T3,T4>(…) Binds a property to a value that combine computes from four notifying properties of source. The binding is always OneWay and shows the default value of TProp while any input is unavailable. Replaces any existing binding for the same property. (2 methods)
SetCurrentValue<T>(…) Changes the current target value without replacing a binding. A later binding update can replace this value. When no binding supplies a target value, this sets a local value.