NavigationViewTemplateSettings.TopPaneVisibility 属性

定义

获取顶部窗格的可见性。

本文档适用于 Windows 应用 SDKWinUI 的 WinUI 2 for UWP (,请参阅Windows 应用 SDK命名空间) 。

public:
 property Visibility TopPaneVisibility { Visibility get(); };
Visibility TopPaneVisibility();
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Visibility::Collapsed")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Visibility::Collapsed")]
Visibility TopPaneVisibility();
public Visibility TopPaneVisibility { get; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Visibility::Collapsed")]
public Visibility TopPaneVisibility { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::Visibility::Collapsed")] get; }
Public ReadOnly Property TopPaneVisibility As Visibility

属性值

顶部窗格的可见性。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

适用于