Find out what renderers, behaviors, and effects can add to your Xamarin.Forms apps.
- [Instructor] Unlike the platform specific requirements of dependency services and dependency injection, renders, behaviors, and effects only sometimes have platform dependents. In fact, behaviors rarely have platform dependents. In most mobile app scenarios, custom behavior styling is needed to enhance the user experience or provide user feedback and control over elements. For example, if you need validation or a visual indication during entry. So a great example of this is if you want the styling to change whether a value was positive or negative from red to black, or you wanted to make sure that entry was numeric or alphanumeric only.
This is a great scenario where additional functionality is needed, but the actual implementation may be platform specific. Because remember, Xamarin Forms apps are rendered natively, and we need to make sure that we're accessing the native control in order to perform specific actions.
- Implementing renderers
- Working with custom renderers
- Implementing behaviors
- Working with effects