BindableContext

Namespace: WellFired.Guacamole

Description

Properties

string SourcePropertyName { get; set; }
object Value { get; set; }
INotifyPropertyChanged SourceObject { get; set; }
BindingMode InstancedBindingMode { get; set; }
IValueConverter InstancedConverter { get; set; }

Public Methods

  BindableContext ( object initialValue )
bool SetValueFromDest ( object value )
bool SetValueFromSource ( )

Breakdown

  • BindableProperty BindableProperty

    Description

    This is the property on the destination side.

  • string SourcePropertyName { get; set; }
  • object Value { get; set; }

    Description

    This is the current value of the destination property.

  • INotifyPropertyChanged SourceObject { get; set; }

    Description

    This is the source object destination is bound to.

  • BindingMode InstancedBindingMode { get; set; }

    Description

    This describe in which way the source and destination are bound. If it is not specified, the bindable property default BindingMode is used.

  • IValueConverter InstancedConverter { get; set; }

    Description

    This can be specify to apply a custom conversion to the value. If not specified, the default ValueConverter is used.

  • BindableContext ( object initialValue )
  • bool SetValueFromDest ( object value )

    Description

    This is called when the value on the destination was changed (In a VMMV context it would be the View).

    Parameters

    value
  • bool SetValueFromSource ( )

    Description

    This is called when the value on the source was changed (In a VMMV context it would be the VM).