Freigeben über


LinedFlowLayout.LineSpacing Eigenschaft

Definition

Ruft den vertikalen Abstand zwischen Elementen ab oder legt diese fest.

public:
 property double LineSpacing { double get(); void set(double value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")]
double LineSpacing();

void LineSpacing(double value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")]
double LineSpacing();

void LineSpacing(double value);
public double LineSpacing { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")]
public double LineSpacing { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultLineSpacing")] set; }
var double = linedFlowLayout.lineSpacing;
linedFlowLayout.lineSpacing = double;
Public Property LineSpacing As Double

Eigenschaftswert

Double

double

Der Abstand (in Pixel) zwischen Elementen auf der vertikalen Achse. Der Standardwert ist 0.0.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Beispiele

<ItemsView ItemsSource="{x:Bind Photos}">
    <ItemsView.Layout>
        <LinedFlowLayout LineSpacing="10"/>
    </ItemsView.Layout>
</ItemsView>

Hinweise

Legen Sie diese Eigenschaft fest, um den vertikalen Abstand zwischen Den Zeilen anzugeben.

Gilt für: