In some cases, developers need to resort to using native user controls; especially when a certain control only exists for a certain platform (that is, no Xamarin.Forms abstraction exists for that specific UI element). In these types of situations, Xamarin enables users to declare native views within Xamarin.Forms XAML and set/bind the properties of these controls.
In order to include native views, first the namespaces for the native views should be declared:
Now the view will include a different native control for each platform. Additionally, the UILabel.Text and TextView.Text properties now carry the binding to the Description field.
It is important to note that, for native view references to work, the view in question should not be included in XamlCompilation. In other words, the view should carry the [XamlCompilation(XamlCompilationOptions.Skip)] attribute.
It is also possible to further customize the native fields using native types and properties. For instance, in order to add a drop-shadow on the UILabel item, we can use the ShadowColor and ShadowOffset values: