BindableObject¶
Namespace: WellFired.Guacamole
Implements: WellFired.Guacamole.DataBinding.IBindableObject
Description¶
protected-static-attrib¶
readonly BindableProperty | BindingContextProperty |
Properties¶
INotifyPropertyChanged | BindingContext { get; set; } |
Events¶
PropertyChangedEventHandler | PropertyChanged |
Public Methods¶
void | Bind ( BindableProperty bindableProperty, string sourceProperty, IValueConverter converter ) |
void | Bind ( BindableProperty bindableProperty, string sourceProperty, BindingMode? bindingMode = null, IValueConverter converter = null ) |
object | GetValue ( BindableProperty bindableProperty ) |
bool | SetValue ( BindableProperty bindableProperty, object value ) |
Breakdown¶
- readonly BindableProperty BindingContextProperty
- INotifyPropertyChanged BindingContext { get; set; }
- PropertyChangedEventHandler PropertyChanged
- void Bind ( BindableProperty bindableProperty, string sourceProperty, IValueConverter converter )
void Bind ( BindableProperty bindableProperty, string sourceProperty, BindingMode? bindingMode = null, IValueConverter converter = null )
Description
Bind a Property on an object to this Property.
Parameters
bindableProperty sourceProperty bindingMode If this is not passed, we will default to using the binding monde on the passed property. converter An optional converter that will convert from dource type to dest type and vice versa
- object GetValue ( BindableProperty bindableProperty )
- bool SetValue ( BindableProperty bindableProperty, object value )