LinedFlowLayout.LineSpacing 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定專案之間的垂直間距。
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
屬性值
Double
double
垂直軸上的項目之間) 以像素為單位的空間 (。 預設值為 0.0。
- 屬性
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
範例
<ItemsView ItemsSource="{x:Bind Photos}">
<ItemsView.Layout>
<LinedFlowLayout LineSpacing="10"/>
</ItemsView.Layout>
</ItemsView>
備註
設定此屬性以指定線條之間的垂直間距。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應