Click or drag to resize

Binding Class

Base class for binding between a value and another
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public abstract class Binding : IBinding

The Binding type exposes the following members.

Constructors
  NameDescription
Protected methodBinding
Initializes a new instance of the Binding class
Top
Methods
  NameDescription
Public methodStatic memberAddPropertyEvent(Object, String, EventHandlerEventArgs)
Adds an event handler for a specified propertyName of a INotifyPropertyChanged object.
Public methodStatic memberAddPropertyEventT, TProperty(T, ExpressionFuncT, TProperty, EventHandlerEventArgs)
Adds an event handler for a specified propertyExpression of a INotifyPropertyChanged object.
Public methodStatic memberDelegateTValue(FuncTValue, ActionTValue, ActionEventHandlerEventArgs, ActionEventHandlerEventArgs)
Creates a new direct delegate binding.
Public methodStatic memberDelegateT, TValue(FuncT, TValue, ActionT, TValue, ActionT, EventHandlerEventArgs, ActionT, EventHandlerEventArgs, TValue, TValue)
Creates a new indirect delegate binding.
Public methodStatic memberCode exampleExecuteCommand(Object, IndirectBindingICommand, Object)
Executes a command retrieved using the specified commandBinding from the dataContext.
Public methodStatic memberCode exampleExecuteCommandT(Object, ExpressionFuncT, ICommand, Object)
Executes a command retrieved using a property commandExpression from the dataContext.
Protected methodHandleEvent
Called to handle an event for this binding
Protected methodOnChanged
Handles the Changed event
Protected methodOnChanging
Handles the Changing event
Public methodStatic memberCode examplePropertyTValue(String)
Creates a new indirect property binding using the specified propertyName.
Public methodStatic memberCode examplePropertyTValue(String, Boolean)
Creates a new indirect property binding using the specified propertyName.
Public methodStatic memberCode examplePropertyT, TValue(ExpressionFuncT, TValue)
Creates a new indirect property binding using the specified propertyExpression.
Public methodStatic memberPropertyT, TValue(T, ExpressionFuncT, TValue)
Creates a new direct property binding to the specified model object.
Protected methodRemoveEvent
Called to remove an event for this binding
Public methodStatic memberRemovePropertyEvent
Removes an event handler previously attached with the AddPropertyEvent method.
Public methodUnbind
Unbind this from the target object(s)
Public methodUpdate
Updates the bound target object's value
Top
Events
  NameDescription
Public eventChanged
Event to handle after the value has been set using this binding
Public eventChanging
Event to handle when the value is being set using this binding
Top
Remarks
See Also