Bagikan melalui


UniformGridLayout.ItemsStretch Properti

Definisi

Mendapatkan atau menetapkan nilai yang menunjukkan bagaimana item berukuran untuk mengisi ruang yang tersedia.

public:
 property UniformGridLayoutItemsStretch ItemsStretch { UniformGridLayoutItemsStretch get(); void set(UniformGridLayoutItemsStretch value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")]
UniformGridLayoutItemsStretch ItemsStretch();

void ItemsStretch(UniformGridLayoutItemsStretch value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")]
UniformGridLayoutItemsStretch ItemsStretch();

void ItemsStretch(UniformGridLayoutItemsStretch value);
public UniformGridLayoutItemsStretch ItemsStretch { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")]
public UniformGridLayoutItemsStretch ItemsStretch { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::UniformGridLayoutItemsStretch::None")] set; }
var uniformGridLayoutItemsStretch = uniformGridLayout.itemsStretch;
uniformGridLayout.itemsStretch = uniformGridLayoutItemsStretch;
Public Property ItemsStretch As UniformGridLayoutItemsStretch

Nilai Properti

Nilai enumerasi yang menunjukkan bagaimana item berukuran untuk mengisi ruang yang tersedia. Default Tidak Ada.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Keterangan

Properti ini memungkinkan perilaku tata letak adaptif di mana item berukuran untuk mengisi ruang yang tersedia di sepanjang sumbu non-gulir, dan secara opsional mempertahankan rasio aspeknya.

Berlaku untuk