AppWindow.TitleBar 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取应用窗口的标题栏。
public:
property AppWindowTitleBar ^ TitleBar { AppWindowTitleBar ^ get(); };
AppWindowTitleBar TitleBar();
public AppWindowTitleBar TitleBar { get; }
var appWindowTitleBar = appWindow.titleBar;
Public ReadOnly Property TitleBar As AppWindowTitleBar
属性值
应用窗口的标题栏。
注解
Important
自 Windows 应用 SDK 1.2 以来,游戏栏自定义 API 在 Windows 10 上部分受支持,并且完全支持Windows 11。 在调用这些 API 之前,应在代码中检查 AppWindowTitleBar.IsCustomizationSupported,以确保应用在其他版本的 Windows 上不会崩溃。 有关详细信息,请参阅 标题栏自定义 。