AutomationFocusChangedEventArgs(Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AutomationFocusChangedEventArgs class.
public:
AutomationFocusChangedEventArgs(int idObject, int idChild);
public AutomationFocusChangedEventArgs (int idObject, int idChild);
new System.Windows.Automation.AutomationFocusChangedEventArgs : int * int -> System.Windows.Automation.AutomationFocusChangedEventArgs
Public Sub New (idObject As Integer, idChild As Integer)
Parameters
- idObject
- Int32
The identifier (ID) of the object that received focus.
- idChild
- Int32
The child ID of the object that received focus.
Remarks
The idObject
and idChild
parameters contain the Microsoft Active Accessibility object identifiers that UI Automation clients can use to link an AutomationElement to an IAccessible
object in an older accessible technology application.