What is the easiest way to set spacing between items in StackPanel?

29 במאי 2011

What is the easiest way to set spacing between items in StackPanel or any other Panel? Seems like an easy question, but most of the time it requires just too much xaml work. If we’re just putting items of the same type, we can use “anonymous” styles, like so: 1: <StackPanel> 2: <StackPanel.Resources> 3: <Style TargetType="Button"> ...
5 תגובות