Share via


SpacingWrapPanel.HorizontalItemSpacing Property

Definition

Gets or sets the horizontal spacing between items. If the value is NaN (Auto), items are spaced evenly over the entire width of the panel. For horizontally-oriented panels, the spacing is applied between individual items in a row. For vertically-oriented panels, the spacing is applied between columns.

public:
 property double HorizontalItemSpacing { double get(); void set(double value); };
public:
 property double HorizontalItemSpacing { double get(); void set(double value); };
public double HorizontalItemSpacing { get; set; }
member this.HorizontalItemSpacing : double with get, set
Public Property HorizontalItemSpacing As Double

Property Value

The horizontal spacing.

Applies to