Divider

Separate related regions with a native-scale horizontal or vertical rule.

Divider is a lightweight View that draws a one-pixel rule in the current screen scale.

new StackPanel
{
    Spacing = 12,
    Children =
    {
        accountSummary,
        new Divider(),
        storageSummary
    }
};

It measures as a horizontal hairline and expands to the width supplied by its parent. Set Color to override the default separator color:

new Divider { Color = Colors.Gray4 };

Use spacing alone when sections are already visually distinct. Dividers work best between peer rows or groups, not as decoration around every element.