UI Automation
Actipro Gauge follows the WPF accessibility model for UI automation.
What is UI Automation?
Microsoft UI Automation is the new accessibility framework for Microsoft Windows. It addresses the needs of assistive technology products and automated test frameworks by providing programmatic access to information about the user interface (UI).
Gauge implements automation peers for the following classes:
- The GaugeBase class, which is the base class of CircularGauge, DigitalGauge, Led, DigitalGauge, and FlipSwitch. This automation peer provides access to the child elements.
- The DigitalGauge class exposes the currently displayed text to the automation framework using internal classes. This is in addition to the functionality provided by the
GaugeBase
automation peer. - The Led class exposes the current state of the LED light to the automation framework. This is in addition to the functionality provided by the
GaugeBase
automation peer. - The FlipSwitch class exposes the current state of the switch to the automation framework. This is in addition to the functionality provided by the
GaugeBase
automation peer. - The PointerBase class, which is the base class of CircularPointerBar, CircularPointerMarker, CircularPointerNeedle, LinearPointerBar, and LinearPointerMarker. This automation peer provides access to the value of the pointer.
- The ScaleBase class, which is the base class of CircularScale and LinearScale. This automation peer provides access to the child elements.
Note
CircularPointerCap does not implement an automation peer, since is it only used for aesthetics.