Click or drag to resize

ControlBindingT, TValue Class

Note: This API is now obsolete.

Binding object to easily bind a property of a Control.
Inheritance Hierarchy
SystemObject
  Eto.FormsBinding
    Eto.FormsDirectBindingTValue
      Eto.FormsObjectBindingT, TValue
        Eto.FormsBindableBindingT, TValue
          Eto.FormsControlBindingT, TValue

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
[ObsoleteAttribute("Since 2.1: Use Eto.Forms.BindableBinding<T, TValue> instead")]
public class ControlBinding<T, TValue> : BindableBinding<T, TValue>
where T : Control

Type Parameters

T

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

TValue

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

Constructors
  NameDescription
Public methodControlBindingT, TValue(T, IndirectBindingTValue)
Initializes a new instance of the ControlBindingT, TValue class.
Public methodControlBindingT, TValue(T, FuncT, TValue, ActionT, TValue, ActionT, EventHandlerEventArgs, ActionT, EventHandlerEventArgs)
Initializes a new instance of the ControlBindingT, TValue class.
Top
Remarks
This provides control-specific binding, such as binding to a DataContext. Any bindings created using this will also add to the Bindings collection to keep its reference.
See Also