LinedFlowLayout.LineSpacing 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 the vertical space between items.
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
Property Value
Double
double
The space (in pixels) between items on the vertical axis. Default is 0.0.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
Examples
<ItemsView ItemsSource="{x:Bind Photos}">
<ItemsView.Layout>
<LinedFlowLayout LineSpacing="10"/>
</ItemsView.Layout>
</ItemsView>
Remarks
Set this property to specify the vertical spacing between lines.