AtspiUiaSource.AutomationSource.RaiseAutomationEvent C# (CSharp) Method

RaiseAutomationEvent() static private method

static private RaiseAutomationEvent ( Accessible accessible, AutomationEvent eventId ) : void
accessible Atspi.Accessible
eventId System.Windows.Automation.AutomationEvent
return void
		internal static void RaiseAutomationEvent (Accessible accessible, AutomationEvent eventId)
		{
			IElement element = Element.GetElement (accessible);
			RaiseAutomationEvent (element, eventId);
		}

Same methods

AutomationSource::RaiseAutomationEvent ( IElement element, AutomationEvent eventId ) : void
AutomationSource::RaiseAutomationEvent ( IElement element, AutomationEventArgs e ) : void

Usage Example

Beispiel #1
0
 private void OnTextSelectionChanged(Accessible sender)
 {
     AutomationSource.RaiseAutomationEvent(element,
                                           TextPattern.TextSelectionChangedEvent);
 }
All Usage Examples Of AtspiUiaSource.AutomationSource::RaiseAutomationEvent