StackPanel.Spacing Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a uniform distance (in pixels) between stacked items. It is applied in the direction of the StackPanel's Orientation.
public:
property double Spacing { double get(); void set(double value); };
double Spacing();
void Spacing(double value);
public double Spacing { get; set; }
var double = stackPanel.spacing;
stackPanel.spacing = double;
Public Property Spacing As Double
<StackPanel Spacing="double"/>
Property Value
Double
double
The uniform distance (in pixels) between stacked items.
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|