Is it possible to set a specific spacing between columns and rows on a UniformGrid?
the default behavior of a UniformGrid is this:
<UniformGrid Columns="2" Rows="2">
<Button Content="1"/>
<Button Content="2"/>
<Button Content="3"/>
<Button Content="4"/>
</UniformGrid>

But I'd like it to look like this instead:

No, not directly in the
UniformGrid, but you can add aMarginto its children. If you need the same spacing for multiple children, just extract them to a style. For your example, it would look like this:In general, if you do not want to define styles for each control and you want uniform spacing for child controls, you can nest them in
Borders and apply a common style for margins to it.