Click or drag to resize

IndirectBindingT Class

Provides an indirect binding to an indeterminate source/destination
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public abstract class IndirectBinding<T> : Binding, 
	IIndirectBinding<T>, IBinding

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Eto.Forms.IndirectBinding`1"]

The IndirectBindingT type exposes the following members.

Constructors
  NameDescription
Protected methodIndirectBindingT
Initializes a new instance of the IndirectBindingT class
Top
Methods
  NameDescription
Public methodAddValueChangedHandler
Adds a handler to trap when the value of this binding changes for the specified object
Public methodAfterDelay(Double, Boolean)
Specifies that the binding should only respond to change events after a delay.
Public methodAfterDelay(TimeSpan, Boolean)
Specifies that the binding should only respond to change events after a delay.
Public methodCastTValue
Casts this binding value to another (compatible) type.
Public methodCatchException(FuncException, Boolean)
Catches any exceptions when setting the value of the binding
Public methodCatchExceptionTException(FuncTException, Boolean)
Catches any exceptions of the specified TException when setting the value of the binding.
Public methodCode exampleChildTNewValue(ExpressionFuncT, TNewValue)
Binds to the specified child property expression.
Public methodCode exampleChildTNewValue(IndirectBindingTNewValue)
Binds to the specified child binding of this binding.
Public methodConvert(IValueConverter, Type, Object, CultureInfo)
Converts the binding using the specified converter object.
Public methodConvertTValue(FuncT, TValue, FuncTValue, T)
Converts this binding's value to another value using delegates.
Public methodConvertTValue(IValueConverter, Object, CultureInfo)
Converts the binding using the specified converter object.
Public methodEnumToString
Converts the a binding to an enumeration to/from its string representation
Public methodGetValue
Gets the value from the specified object using this binding
Protected methodInternalGetValue
Implements the logic to get the value from the specified object
Protected methodInternalSetValue
Implements the logic to set the value to the specified object
Public methodOfTypeTValue
Casts this binding value to another (compatible) type, or returns the default if the types do not match.
Public methodRemoveValueChangedHandler
Public methodSetValue
Sets the specified value to an object using this binding
Public methodToBool(T)
Converts this binding to return a nullable boolean binding
Public methodToBool(T, T)
Converts this binding to return a nullable boolean binding
Public methodToBool(T, T, T)
Converts this binding to return a nullable boolean binding
Public methodToTypeTType
Uses System.Convert.ChangeType to change the value of the binding to the specified type.
Top
Remarks
This binding does not directly bind to an object - you must pass the object to get/set the value. The DirectBindingT differs in that it binds directly to an object. The IndirectBinding is useful when you want to use the same binding on multiple objects, such as when binding cells in a Grid. Typically one would use PropertyBindingT or ColumnBindingT which are ways to retrieve either a property value or column/index-based value.
See Also