Share via


WindowPatternIdentifiers クラス

定義

IWindowProvider によって識別子として使用される値を格納します。

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

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

WindowPatternIdentifiers などのクラスは、Microsoft UI オートメーションの共通プロバイダー パターンのWindows ランタイム実装の識別子です。 GetPattern 実装で IWindowProvider のサポートを報告するWindows ランタイムカスタム オートメーション ピアを実装する場合は、これらの識別子を使用できます。 これらの識別子は、独自のピアを参照するコントロール コードから行う RaisePropertyChangedEvent 呼び出し、またはアイテム コンテナー ピアの FindItemByProperty に必要です。 コントロールにこのパターンを使用することは非常に一般的ではありません。

通常、この同じパターンは、クライアントの実装と Microsoft UI オートメーション ツリーの確認に使用するテクノロジに応じて、異なる方法でクライアントに公開されます。 IWindowProvider は、コンポーネント オブジェクト モデル (COM) インターフェイスとしても提供されます。

プロパティ

CanMaximizeProperty

最大化可能なオートメーション プロパティを識別します。

CanMinimizeProperty

最小化可能なオートメーション プロパティを識別します。

IsModalProperty

IsModal オートメーション プロパティを識別します。

IsTopmostProperty

IsTopmost オートメーション プロパティを識別します。

WindowInteractionStateProperty

InteractionState オートメーション プロパティを識別します。

WindowVisualStateProperty

VisualState オートメーション プロパティを識別します。

適用対象

こちらもご覧ください