Click or drag to resize

DirectBindingT Class

Abstraction to get/set values from a provided object
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public abstract class DirectBinding<T> : Binding

Type Parameters

T

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

The DirectBindingT type exposes the following members.

Constructors
  NameDescription
Protected methodDirectBindingT
Initializes a new instance of the DirectBindingT class
Top
Properties
  NameDescription
Public propertyDataValue
Gets or sets the value of this binding
Top
Methods
  NameDescription
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 exampleChildTValue(ExpressionFuncT, TValue)
Binds to the specified child property expression.
Public methodCode exampleChildTValue(IndirectBindingTValue)
Binds to the specified child binding of this binding.
Public methodConvertTValue
Converts this binding's value to another value using delegates.
Protected methodOnDataValueChanged
Handles the DataValueChanged event
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
Events
  NameDescription
Public eventDataValueChanged
Event to handle when the value changes on the bound object
Top
Fields
  NameDescription
Public fieldStatic memberDataValueChangedEvent
Identifier for the DataValueChanged event
Top
Remarks
This binding provides a way to get/set values of an object that is provided by the binding, and not passed in. This differs from the IndirectBindingT, which requires that the caller pass in the object to get/set the value from/to.
See Also