DropTargetPatternIdentifiers DropTargetPatternIdentifiers DropTargetPatternIdentifiers Class

Definition

Contains values used as identifiers by IDropTargetProvider.

public sealed class DropTargetPatternIdentifierspublic sealed class DropTargetPatternIdentifiersPublic NotInheritable Class DropTargetPatternIdentifiers
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Classes such as DropTargetPatternIdentifiers are the identifiers for the Windows Runtime implementation of a common provider pattern for Microsoft UI Automation. You might use these identifiers if you are implementing a Windows Runtime custom automation peer that reports support for IDropTargetProvider in its GetPattern(PatternInterface) implementation. These identifiers are needed for the RaisePropertyChangedEvent(AutomationProperty, Object, Object) calls that you make from control code that references your own peer, or for FindItemByProperty(IRawElementProviderSimple, AutomationProperty, Object) in an items container peer.

This same pattern is usually exposed to clients in a different way, depending on which technology they use to implement the client and examine the Microsoft UI Automation tree. IDropTargetProvider is also presented as a Component Object Model (COM) interface.

Properties

DropTargetEffectProperty DropTargetEffectProperty DropTargetEffectProperty DropTargetEffectProperty

Gets the identifier for the DropEffect automation property.

public static AutomationProperty DropTargetEffectProperty { get; }public static AutomationProperty DropTargetEffectProperty { get; }Public Static ReadOnly Property DropTargetEffectProperty As AutomationPropertypublic static AutomationProperty DropTargetEffectProperty { get; }
Value
AutomationProperty AutomationProperty AutomationProperty

The automation property identifier.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

DropTargetEffectsProperty DropTargetEffectsProperty DropTargetEffectsProperty DropTargetEffectsProperty

Gets the identifier for the DropEffects automation property.

public static AutomationProperty DropTargetEffectsProperty { get; }public static AutomationProperty DropTargetEffectsProperty { get; }Public Static ReadOnly Property DropTargetEffectsProperty As AutomationPropertypublic static AutomationProperty DropTargetEffectsProperty { get; }
Value
AutomationProperty AutomationProperty AutomationProperty

The automation property identifier.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)