LinedFlowLayout.ItemsStretch 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,這個值表示專案的大小如何填滿可用空間。
public:
property LinedFlowLayoutItemsStretch ItemsStretch { LinedFlowLayoutItemsStretch get(); void set(LinedFlowLayoutItemsStretch value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")]
LinedFlowLayoutItemsStretch ItemsStretch();
void ItemsStretch(LinedFlowLayoutItemsStretch value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")]
LinedFlowLayoutItemsStretch ItemsStretch();
void ItemsStretch(LinedFlowLayoutItemsStretch value);
public LinedFlowLayoutItemsStretch ItemsStretch { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")]
public LinedFlowLayoutItemsStretch ItemsStretch { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="LinedFlowLayout::s_defaultItemsStretch")] set; }
var linedFlowLayoutItemsStretch = linedFlowLayout.itemsStretch;
linedFlowLayout.itemsStretch = linedFlowLayoutItemsStretch;
Public Property ItemsStretch As LinedFlowLayoutItemsStretch
屬性值
列舉值,指出專案的大小如何填滿可用空間。 預設值為 None
。
- 屬性
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
備註
將此屬性設定為 Fill
,讓專案水準延展以填滿數據列的寬度。 最後一個數據列中的專案不會受到這個屬性的影響。
此螢幕快照顯示已配置預設延展值的 None
相片圖庫。
此螢幕快照顯示與 延展值 Fill
相同的相片資源庫。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應