Share via


LinedFlowLayout.ItemsStretch 屬性

定義

取得或設定值,這個值表示專案的大小如何填滿可用空間。

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相同的相片資源庫。

映像庫的螢幕快照。前兩個數據列中的專案會水準延展,以佔用所有可用空間。

適用於