語言

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

標題列自訂 API 自 1.2 Windows 應用程式 SDK 起部分支援於 Windows 10,Windows 11 則完全支援。 你應該先檢查IsCustomizationSupported程式碼,再呼叫這些 API,確保你的應用程式不會在其他 Windows 版本上當機。 更多資訊請參見 標題列自訂 。

適用於

另請參閱