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

備註

重要

自 Windows 應用程式 SDK 1.2 起,Windows 10 部分支援標題列自定義 API,且完全支援 Windows 11。 您應該先簽 IsCustomizationSupported 入程式代碼,再呼叫這些 API,以確保您的應用程式不會在其他版本的 Windows 上損毀。 如需詳細資訊,請參閱 標題列自定義

適用於

另請參閱