Share via


DragPatternIdentifiers クラス

定義

IDragProvider によって識別子として使用される値が含まれます。

public ref class DragPatternIdentifiers 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 DragPatternIdentifiers 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 DragPatternIdentifiers
Public NotInheritable Class DragPatternIdentifiers
継承
Object Platform::Object IInspectable DragPatternIdentifiers
属性

Windows の要件

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

注釈

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

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

プロパティ

DropEffectProperty

DropEffect オートメーション プロパティの識別子を取得します。

DropEffectsProperty

DropEffects オートメーション プロパティの識別子を取得します。

GrabbedItemsProperty

GrabbedItems オートメーション プロパティの識別子を取得します。

IsGrabbedProperty

IsGrabbed オートメーション プロパティの識別子を取得します。

適用対象

こちらもご覧ください