
上QQ阅读APP看书,第一时间看更新
Read-only properties
All properties can be observed (or be used as a parameter for bind), but bind can't be called for some of them. The exception is read-only properties, which can't be changed and can't be bound.
All read-only properties implement ReadOnlyProperty, or they can be recognized by the class name starting from ReadOnly words. For example, widthProperty in the first example has the ReadOnlyDoubleProperty type.