AppWindowTitleBar クラス

定義

アプリ ウィンドウのタイトル バーを表します。

public ref class AppWindowTitleBar sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppWindowTitleBar final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppWindowTitleBar
Public NotInheritable Class AppWindowTitleBar
継承
Object Platform::Object IInspectable AppWindowTitleBar
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1903 (10.0.18362.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v8.0 で導入)

プロパティ

BackgroundColor

タイトル バーの背景の色を取得または設定します。

ButtonBackgroundColor

タイトル バー ボタンの背景色を取得または設定します。

ButtonForegroundColor

タイトル バー ボタンの前景色を取得または設定します。

ButtonHoverBackgroundColor

ポインターがタイトル バー ボタン上にある場合のタイトル バー ボタンの背景色を取得または設定します。

ButtonHoverForegroundColor

ポインターがタイトル バー ボタンの上にある場合の前景色を取得または設定します。

ButtonInactiveBackgroundColor

タイトル バー ボタンが非アクティブな場合の背景色を取得または設定します。

ButtonInactiveForegroundColor

タイトル バー ボタンが非アクティブな場合の前景色を取得または設定します。

ButtonPressedBackgroundColor

タイトル バー ボタンが押されたときの背景色を取得または設定します。

ButtonPressedForegroundColor

タイトル バー ボタンが押されたときの前景色を取得または設定します。

ExtendsContentIntoTitleBar

このタイトル バーを既定のウィンドウ タイトル バーに置き換えるかどうかを指定する値を取得または設定します。

ForegroundColor

タイトル バーの前景の色を取得または設定します。

InactiveBackgroundColor

非アクティブなタイトル バーの背景の色を取得または設定します。

InactiveForegroundColor

タイトル バーが非アクティブな場合の前景の色を取得または設定します。

IsVisible

このタイトル バーが表示されるかどうかを示す値を取得します。

メソッド

GetPreferredVisibility()

タイトル バーの優先表示モードを返します。

GetTitleBarOcclusions()

タイトル バーのオクルージョンの一覧を取得します。

SetPreferredVisibility(AppWindowTitleBarVisibility)

タイトル バーの優先表示モードを設定します。

適用対象