
上QQ阅读APP看书,第一时间看更新
Rules of binding
Although binding looks very simple to use, there are several rules that you need to be aware of while using binding:
- Read-only properties can't be bound
- Only one bind can be active for a property, but several properties can be bound to another one
- Binding and setters do not work together
- Bidirectional bindings are less strict
Let's look at each of these points more closely in the next sections.