Click or drag to resize

DelegateBindingTValue Class

Direct delegate binding.
Inheritance Hierarchy
SystemObject
  Eto.FormsBinding
    Eto.FormsDirectBindingTValue
      Eto.FormsDelegateBindingTValue

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

Type Parameters

TValue

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

The DelegateBindingTValue type exposes the following members.

Constructors
  NameDescription
Public methodDelegateBindingTValue
Initializes a new instance of the DelegateBindingTValue class.
Public methodDelegateBindingTValue(FuncTValue, ActionTValue, ActionEventHandlerEventArgs, ActionEventHandlerEventArgs)
Initializes a new instance of the DelegateBindingTValue class with the specified delegates.
Top
Properties
  NameDescription
Public propertyAddChangeEvent
Gets or sets the delegate to register the change event, when needed by the consumer of this binding.
Public propertyDataValue
Gets or sets the value of this binding
(Overrides DirectBindingTDataValue.)
Public propertyGetValue
Gets or sets the delegate to get the value for this binding.
Public propertyRemoveChangeEvent
Gets or sets the delegate to remove the change event.
Public propertySetValue
Gets or sets the delegate to set the value for this binding.
Top
Methods
Remarks
This is a direct binding, in that the get/set delegates can get/set the value directly without any associated object instance. This is used when binding directly to a property or when an object instance isn't needed to get/set a value.
See Also