DragPatternIdentifiers class

DragPatternIdentifiers class

Contains values used as identifiers by IDragProvider.

Inheritance

Object
  DragPatternIdentifiers

Syntax


Public NotInheritable Class DragPatternIdentifiers

Members

The DragPatternIdentifiers class has these types of members:

Methods

The DragPatternIdentifiers class inherits methods from the Object class.

Properties

The DragPatternIdentifiers class has these properties.

PropertyAccess typeDescription

DropEffectProperty

Read-only

Gets the identifier for the DropEffect automation property.

DropEffectsProperty

Read-only

Gets the identifier for the DropEffects automation property.

GrabbedItemsProperty

Read-only

Gets the identifier for the GrabbedItems automation property.

IsGrabbedProperty

Read-only

Gets the identifier for the IsGrabbed automation property.

 

Remarks

Classes such as DragPatternIdentifiers 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 IDragProvider in its GetPattern implementation. These identifiers are needed for the RaisePropertyChangedEvent calls that you make from control code that references your own peer, or for FindItemByProperty 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 UI Automation tree. IDragProvider is also presented as a Component Object Model (COM) interface.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

See also

Object
IDragProvider
Control patterns and interfaces
Custom automation peers

 

 

Show:
© 2016 Microsoft