Share via


UniformGridLayout.ItemsStretch Eigenschaft

Definition

Ruft einen Wert ab, der angibt, wie Elemente zum Ausfüllen des verfügbaren Speicherplatzes dimensionieren, oder legt diesen fest.

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

Eigenschaftswert

Ein Enumerationswert, der angibt, wie Elemente so dimensionieren, dass sie den verfügbaren Speicherplatz ausfüllen. Der Standardwert ist None (Kein).

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Hinweise

Diese Eigenschaft ermöglicht ein adaptives Layoutverhalten, bei dem die Elemente so dimensioniert werden, dass sie den verfügbaren Platz entlang der Nicht-Bildlaufachse ausfüllen und optional ihr Seitenverhältnis beibehalten.

Gilt für: