DragPatternIdentifiers クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
IDragProvider によって識別子として使用される値を格納します。
public ref class DragPatternIdentifiers 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 DragPatternIdentifiers 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 DragPatternIdentifiers
Public NotInheritable Class DragPatternIdentifiers
- 継承
- 属性
注釈
DragPatternIdentifiers などのクラスは、Microsoft UI オートメーションの共通プロバイダー パターンのWindows ランタイム実装の識別子です。 AutomationPeer.GetPattern 実装で IDragProvider のサポートを報告するWindows ランタイムカスタム オートメーション ピアを実装する場合は、これらの識別子を使用できます。 これらの識別子は、独自のピアを参照するコントロール コードから行う AutomationPeer.RaisePropertyChangedEvent 呼び出し、またはアイテム コンテナー ピアの Provider.IItemContainerProvider.FindItemByProperty に必要です。
通常、この同じパターンは、クライアントの実装と Microsoft UI オートメーション ツリーの確認に使用するテクノロジに応じて、異なる方法でクライアントに公開されます。 IDragProvider は、コンポーネント オブジェクト モデル (COM) インターフェイスとしても提供されます。
プロパティ
DropEffectProperty |
DropEffect オートメーション プロパティの識別子を取得します。 |
DropEffectsProperty |
DropEffects オートメーション プロパティの識別子を取得します。 |
GrabbedItemsProperty |
GrabbedItems オートメーション プロパティの識別子を取得します。 |
IsGrabbedProperty |
IsGrabbed オートメーション プロパティの識別子を取得します。 |