DesktopAcrylicController クラス

定義

背景アクリル素材のレンダリングとシステム ポリシーを管理します。

public ref class DesktopAcrylicController sealed : ISystemBackdropController, IClosable
public ref class DesktopAcrylicController sealed : ISystemBackdropControllerWithTargets, IClosable
public ref class DesktopAcrylicController sealed : ISystemBackdropControllerWithTargets, IClosableNotifier, IClosable
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.WindowsAppSDKContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DesktopAcrylicController final : ISystemBackdropController, IClosable
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.WindowsAppSDKContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DesktopAcrylicController final : ISystemBackdropControllerWithTargets, IClosable
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.WindowsAppSDKContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DesktopAcrylicController final : ISystemBackdropControllerWithTargets, IClosableNotifier, IClosable
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.WindowsAppSDKContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DesktopAcrylicController : ISystemBackdropController, System.IDisposable
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.WindowsAppSDKContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DesktopAcrylicController : ISystemBackdropControllerWithTargets, System.IDisposable
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Foundation.WindowsAppSDKContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DesktopAcrylicController : ISystemBackdropControllerWithTargets, IClosableNotifier, System.IDisposable
function DesktopAcrylicController()
Public NotInheritable Class DesktopAcrylicController
Implements IDisposable, ISystemBackdropController
Public NotInheritable Class DesktopAcrylicController
Implements IDisposable, ISystemBackdropControllerWithTargets
Public NotInheritable Class DesktopAcrylicController
Implements IClosableNotifier, IDisposable, ISystemBackdropControllerWithTargets
継承
Object Platform::Object IInspectable DesktopAcrylicController
属性
実装

注釈

このクラスは、システム背景素材のレンダリングと、背景 アクリル 素材のシステム ポリシーの処理の両方をカプセル化します。

背景アクリルは、現在アクティブなアプリの背後にあるデスクトップの壁紙や他のウィンドウを明らかにします。

コンストラクター

DesktopAcrylicController()

DesktopAcrylicController クラスの新しいインスタンスを初期化します。

プロパティ

FallbackColor

システム条件によってアクリル素材のレンダリングが妨げられる場合に使用する純色を取得または設定します。

IsClosed

オブジェクトが閉じている (破棄される) かどうかを示す値を取得します。

Kind

使用されるアクリル素材のバリアントを示す値を取得または設定します。

LuminosityOpacity

色の明るさの不透明度を取得または設定します。

State

システムの背景コントローラーの現在の状態を取得します。

TintColor

背景のアクリル素材の色の濃淡を取得または設定します。

TintOpacity

色の濃淡の不透明度を取得または設定します。

メソッド

AddSystemBackdropTarget(ICompositionSupportsSystemBackdrop)

指定したシステム背景ターゲットを追加します。

Close()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

IsSupported()

現在のオペレーティング システムでアクリル素材がサポートされているかどうかを判断します。

RemoveAllSystemBackdropTargets()

すべてのシステム バックグラウンド ターゲットを削除します。

RemoveSystemBackdropTarget(ICompositionSupportsSystemBackdrop)

指定したシステム バックグラウンド ターゲットを削除します。

ResetProperties()

カスタマイズしたプロパティをシステムの既定値にリセットし、ライト/ダーク テーマの自動処理に戻します。

SetSystemBackdropConfiguration(SystemBackdropConfiguration)

システムの背景コントローラーに適用するアプリ固有のポリシーを設定します。

SetTarget(CoreWindow, CompositionTarget)

このシステム背景コントローラーを指定した CoreWindowに接続します。

SetTarget(WindowId, CompositionTarget)

このシステム背景コントローラーを、指定した WindowIdHWND持つ または AppWindow に接続します。

イベント

Closed

オブジェクトが閉じられたことをアプリに通知するために、 FrameworkClosed イベントの後にオブジェクトが閉じられた (破棄された) ときに発生します。

FrameworkClosed

オブジェクトが閉じられた (破棄された) ときに発生し、 Closed イベントの前に、オブジェクトが閉じられたことをフレームワーク (XAML など) に通知します。

StateChanged

システムの背景の状態が変更されたときに発生します。

適用対象

こちらもご覧ください