AppWindowTitleBar.IsCustomizationSupported Method

Definition

Gets a value that indicates whether the title bar can be customized.

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

Returns

Boolean

bool

true if the title bar can be customized; otherwise, false.

Remarks

Important

Title bar customization APIs are partially supported on Windows 10 since Windows App SDK 1.2 and fully supported on Windows 11. You should check IsCustomizationSupported in your code before you call these APIs to ensure your app doesn't crash on other versions of Windows. See Title bar customization for more info.

Applies to

See also