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

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

Members

Type

Type: EventArgsType

A value from the EventArgsType enumerated type indicating the type of event.

EventId

Type: int

The identifier of the event. For a list of event identifiers, see Event Identifiers.

PropertyId

Type: PROPERTYID

The identifier of the property that has changed. For a list of property IDs, see Property Identifiers.

OldValue

Type: VARIANT

A VARIANT containing the old value of the property.

NewValue

Type: VARIANT

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.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header uiautomationcoreapi.h