Platform effects are used to simplify native control customization, reducing the need to create
CustomRenderers for small styling changes. This means we don't have to create a custom renderer every single time we want native customization. To implement a
PlatformEffect, we first create a class that subclasses the
PlatformEffect framework. Then we have to write platform-specific implementations for each.
Following is a small overview of how the rendering process will look among the different projects:
Let's add a new folder called
Effects inside the
Camera project, add in a new file called
LabelShadowEffect.cs, and implement the following: ...