In This Topic
C1Binding objects can only be used in one-way binding scenarios.
The reason for this is simple: regular bindings are based on simple properties, which can be evaluated or assigned values. C1Binding, however, is based on expressions, which can be evaluated but not assigned to. For example, you can assign a new value to the "Amount" property, but not to the "Credit – Debit" expression.
In addition to this, C1Binding objects have the same limitations as regular Binding objects:
- They can only be assigned to dependency properties, which only exist in dependency objects (such as UIElement or FrameworkElement objects).
- If the binding is to be automatically updated when the property changes, then the binding source object must implement the INotifyPropertyChanged interface.
- If the types of the source and target properties are not compatible, then the target property must have the appropriate converters (e.g., most types can be converted from string values, including Color, FontWeight, and so on).