Shadows
Every view has a shadow, which by default is invisible. To reveal and style the border you can set the following properties.
The shadow itself is actually a property, so you set the above like this:
You can even copy an entire shadow between views:
Example