A value in device pixels which indicates the amount of space between each element. The default value is 6.0.
Setting this value triggers a layout cycle if the StackLayout is already in a parent Layout.
The following example sets the Spacing on construction of a StackLayout.
C# Example
var stackLayout = new StackLayout {
Spacing = 10
};