共用方式為


NavigationViewTemplateSettings.TopPaneVisibility 屬性

定義

取得頂端窗格的可見度。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.NavigationViewTemplateSettings.TopPaneVisibility (Windows 應用程式 SDK中的 WinUI,請參閱Windows 應用程式 SDK命名空間) 。

public:
 property Visibility TopPaneVisibility { Visibility get(); };
Visibility TopPaneVisibility();
public Visibility TopPaneVisibility { get; }
var visibility = navigationViewTemplateSettings.topPaneVisibility;
Public ReadOnly Property TopPaneVisibility As Visibility

屬性值

頂端窗格的可見度。

適用於