Esempio n. 1
0
 internal static void UiaRaiseStructureChangedEvent(IRawElementProviderSimple provider, UIAutomationClient.StructureChangeType structureChangeType, int[] runtimeId)
 {
     CheckError(RawUiaRaiseStructureChangedEvent(provider, structureChangeType, runtimeId, (runtimeId == null) ? 0 : runtimeId.Length));
 }
Esempio n. 2
0
        void UIAutomationClient.IUIAutomationStructureChangedEventHandler.HandleStructureChangedEvent(UIAutomationClient.IUIAutomationElement sender, UIAutomationClient.StructureChangeType changeType, Array runtimeId)
        {
            StructureChangedEventArgs args = new StructureChangedEventArgs(
                (StructureChangeType)changeType,
                (int[])runtimeId);

            this._structureChangeHandler(AutomationElement.Wrap(sender), args);
        }
Esempio n. 3
0
 private static extern int RawUiaRaiseStructureChangedEvent(IRawElementProviderSimple provider, UIAutomationClient.StructureChangeType structureChangeType, int[] runtimeId, int runtimeIdLen);