BindableWidget Class |
Namespace: Eto.Forms
The BindableWidget type exposes the following members.
| Name | Description | |
|---|---|---|
| BindableWidget |
Initializes a new instance of the BindableWidget class.
| |
| BindableWidget(WidgetIHandler) |
Initializes a new instance of the BindableWidget class with the specified platform handler.
|
| Name | Description | |
|---|---|---|
| Bindings |
Gets the collection of bindings that are attached to this widget
| |
| DataContext |
Gets or sets the data context for this widget for binding
| |
| Parent |
Gets or sets the parent widget which this widget has been added to, if any
| |
| Parents |
Gets an enumeration of all parent widgets in the heirarchy by traversing the Parent property.
|
| Name | Description | |
|---|---|---|
| FindParent(String) |
Finds a control in the parent hierarchy with the specified id | |
| FindParent(Type, String) |
Finds a control in the parent hierarchy with the specified type and ID if specified
| |
| FindParentT(String) |
Finds a control in the parent hierarchy with the specified type and ID if specified
| |
| OnDataContextChanged |
Raises the DataContextChanged event
| |
| Unbind |
Unbinds any bindings in the Bindings collection and removes the bindings
| |
| UpdateBindings |
Updates all bindings in this widget
|
| Name | Description | |
|---|---|---|
| DataContextChanged |
Event to handle when the DataContext has changed
|
| Name | Description | |
|---|---|---|
| BindT(String, DirectBindingT, DualBindingMode) | Overloaded.
Adds a new dual binding between the control and the specified source binding
(Defined by BindableExtensions.) | |
| BindT(IndirectBindingT, DirectBindingT, DualBindingMode) | Overloaded.
Adds a new binding to the control with a direct value binding
(Defined by BindableExtensions.) | |
| BindT(String, Object, String, DualBindingMode) | Overloaded.
Adds a new dual binding between the control and the specified object
(Defined by BindableExtensions.) | |
| BindT(IndirectBindingT, Object, IndirectBindingT, DualBindingMode, T, T) | Overloaded.
Adds a new binding to the control with an indirect binding to the provided objectValue (Defined by BindableExtensions.) | |
| BindDataContextT(String, String, DualBindingMode, T, T) | Overloaded.
Adds a new binding with the control and the the control's current data context
(Defined by BindableExtensions.) | |
| BindDataContextT(IndirectBindingT, IndirectBindingT, DualBindingMode, T, T) | Overloaded.
Adds a new binding from the control to its data context
(Defined by BindableExtensions.) |