NavigationView.AlwaysShowHeader Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der angibt, ob die Kopfzeile immer sichtbar ist.

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 AlwaysShowHeader { bool get(); void set(bool value); };
bool AlwaysShowHeader();

void AlwaysShowHeader(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool AlwaysShowHeader();

void AlwaysShowHeader(bool value);
public bool AlwaysShowHeader { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool AlwaysShowHeader { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
Public Property AlwaysShowHeader As Boolean
<NavigationView AlwaysShowHeader="bool" .../>

Eigenschaftswert

Boolean

bool

true , wenn die Kopfzeile immer sichtbar ist; andernfalls "false".

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Gilt für: