次の方法で共有


DropTargetPatternIdentifiers クラス

定義

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

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

注釈

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

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

プロパティ

DropTargetEffectProperty

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

DropTargetEffectsProperty

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

適用対象

こちらもご覧ください