简体   繁体   中英

Xamarin Forms bindable properties vs normal properties

I don't understand what bindable properties offer more than normal ones. Perhaps the PropertyChanged event? But I guess you could write in your normal property setter whatever you'd write in the PropertyChanged event. One simple example with these two might make it click in my head. Thanks!

from the docs

The purpose of bindable properties is to provide a property system that supports data binding, styles, templates, and values set through parent-child relationships. In addition, bindable properties can provide default values, validation of property values, and callbacks that monitor property changes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM