XamlControlsResources.UseCompactResources Eigenschaft

Definition

Ruft ab oder legt fest, ob Steuerelemente und Ressourcen in einem dichteren Layout gerendert werden.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe Windows App SDK Namespaces).

public:
 property bool UseCompactResources { bool get(); void set(bool value); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
/// [get: Windows.Foundation.Metadata.Experimental]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
/// [set: Windows.Foundation.Metadata.Experimental]
bool UseCompactResources();

void UseCompactResources(bool value);
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
[Windows.Foundation.Metadata.Experimental]
public bool UseCompactResources { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] [Windows.Foundation.Metadata.Experimental] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] [Windows.Foundation.Metadata.Experimental] set; }
Public Property UseCompactResources As Boolean

Eigenschaftswert

Boolean

bool

True, wenn kompakte Ressourcen aktiviert sind. Andernfalls „false“. Die Standardeinstellung ist „false“.

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute ExperimentalAttribute

Gilt für: