Adds distance between elements in the stacking direction.
You can use the ItemSpacing property to make some space between elements. It differs from setting Margin on each child, in that it only adjusts the space directly between the elements, not the space around each of them.
The following example shows three Panels in a StackPanel, spaced using the ItemSpacing property:
<StackPanel ItemSpacing="20"> <Panel Height="100" Background="Red"/> <Panel Height="100" Background="Green"/> <Panel Height="100" Background="Blue"/> </StackPanel>
- Fuse.Controls.Panels 1.11.2