UiaPropertyChangedEventArgs Structure

Note  This structure is deprecated.

Contains information about an event that is raised when a Microsoft UI Automation element property change occurs.

Syntax

typedef struct {
    EventArgsType Type;
    int EventId;
    PROPERTYID PropertyId;
    VARIANT OldValue;
    VARIANT NewValue;
} UiaPropertyChangedEventArgs;

Members

  • Type
    A value from the EventArgsType enumerated type indicating the type of event.
  • EventId
    The identifier of the event. For a list of event identifiers, see Event Identifiers.
  • PropertyId
    The identifier of the property that has changed. For a list of property IDs, see Property Identifiers.
  • OldValue
    A VARIANT containing the old value of the property.
  • NewValue
    A VARIANT containing the new value of the property.

Remarks

The old value might not be set if the UI Automation provider cannot do so efficiently.

Structure Information

Header uiautomationcoreapi.h
Minimum operating systems Windows XP