StackPanel.SpacingProperty Property


Identifies the Spacing dependency property.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.StackPanel.SpacingProperty.

 static property DependencyProperty ^ SpacingProperty { DependencyProperty ^ get(); };
static DependencyProperty SpacingProperty();
public static DependencyProperty SpacingProperty { get; }
var dependencyProperty = StackPanel.spacingProperty;
Public Shared ReadOnly Property SpacingProperty As DependencyProperty

Property Value


The identifier for the Spacing dependency property.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to