AppWindowTitleBar.IsCustomizationSupported 方法

定义

获取一个值,该值指示是否可以自定义标题栏。

public:
 static bool IsCustomizationSupported();
 static bool IsCustomizationSupported();
public static bool IsCustomizationSupported();
function isCustomizationSupported()
Public Shared Function IsCustomizationSupported () As Boolean

返回

Boolean

bool

true 如果可以自定义标题栏,则为否则,为 false.

注解

Important

自 Windows 应用 SDK 1.2 以来,游戏栏自定义 API 在 Windows 10 上部分受支持,并且完全支持Windows 11。 应在调用这些 API 之前签IsCustomizationSupported入代码,以确保你的应用不会在其他版本的Windows上崩溃。 有关详细信息,请参阅 标题栏自定义

适用于

另请参阅