DragPatternIdentifiers DragPatternIdentifiers DragPatternIdentifiers Class

Contains values used as identifiers by IDragProvider.

Syntax

Declaration

public sealed class DragPatternIdentifierspublic sealed class DragPatternIdentifiersPublic NotInheritable Class DragPatternIdentifiers

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(Windows.UI.Xaml.Automation.Peers.PatternInterface) implementation. These identifiers are needed for the RaisePropertyChangedEvent(Windows.UI.Xaml.Automation.AutomationProperty,System.Object,System.Object) calls that you make from control code that references your own peer, or for FindItemByProperty(Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple,Windows.UI.Xaml.Automation.AutomationProperty,System.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. IDragProvider is also presented as a Component Object Model (COM) interface.

Properties summary

Gets the identifier for the DropEffect automation property.

Gets the identifier for the DropEffects automation property.

Gets the identifier for the GetGrabbedItems() automation property.

Gets the identifier for the IsGrabbed automation property.

Properties

  • DropEffectProperty
    DropEffectProperty
    DropEffectProperty
    DropEffectProperty

    Gets the identifier for the DropEffect automation property.

    public static AutomationProperty DropEffectProperty { get; }public static AutomationProperty DropEffectProperty { get; }Public Static ReadOnly Property DropEffectProperty As AutomationProperty

    Property Value

  • DropEffectsProperty
    DropEffectsProperty
    DropEffectsProperty
    DropEffectsProperty

    Gets the identifier for the DropEffects automation property.

    public static AutomationProperty DropEffectsProperty { get; }public static AutomationProperty DropEffectsProperty { get; }Public Static ReadOnly Property DropEffectsProperty As AutomationProperty

    Property Value

  • GrabbedItemsProperty
    GrabbedItemsProperty
    GrabbedItemsProperty
    GrabbedItemsProperty

    Gets the identifier for the GetGrabbedItems() automation property.

    public static AutomationProperty GrabbedItemsProperty { get; }public static AutomationProperty GrabbedItemsProperty { get; }Public Static ReadOnly Property GrabbedItemsProperty As AutomationProperty

    Property Value

  • IsGrabbedProperty
    IsGrabbedProperty
    IsGrabbedProperty
    IsGrabbedProperty

    Gets the identifier for the IsGrabbed automation property.

    public static AutomationProperty IsGrabbedProperty { get; }public static AutomationProperty IsGrabbedProperty { get; }Public Static ReadOnly Property IsGrabbedProperty As AutomationProperty

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Automation.dll