AppWindowTitleBar.IsCustomizationSupported 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到一個值,表示標題列是否可以自訂。
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 版本上當機。 更多資訊請參見 標題列自訂 。