Sha256: 74194e66df019bb0841a4ca1b6554ca326eeae28fe3eba789c2d0796d7be1155
Contents?: true
Size: 1.46 KB
Versions: 3
Compression:
Stored size: 1.46 KB
Contents
#pragma once using namespace System::Windows; using namespace System::Windows::Automation; ref class AutomationFinder { public: AutomationFinder(AutomationElement^ automationElement); AutomationElementCollection^ Find(...array<Condition^>^ conditions); AutomationElement^ Find(const FindInformation& findInformation); AutomationElement^ FindFirst(...array<Condition^>^ conditions); AutomationElement^ FindAt(const int whichItem, ...array<Condition^>^ conditions); static property Condition^ IsSelectionItem { Condition^ get() { return gcnew PropertyCondition(AutomationElement::IsSelectionItemPatternAvailableProperty, true); } } static property Condition^ IsTableItem { Condition^ get() { return gcnew PropertyCondition(AutomationElement::IsTableItemPatternAvailableProperty, true); } } static property Condition^ IsDataItem { Condition^ get() { return gcnew PropertyCondition(AutomationElement::ControlTypeProperty, ControlType::DataItem); } } static property Condition^ IsHeaderItem { Condition^ get() { return gcnew PropertyCondition(AutomationElement::ControlTypeProperty, ControlType::HeaderItem); } } static property Condition^ IsListItem { Condition^ get() { return gcnew PropertyCondition(AutomationElement::ControlTypeProperty, ControlType::ListItem); } } private: AutomationElement^ _automationElement; Condition^ SomethingOrEverything(...array<Condition^>^ conditions); };
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rautomation-0.9.2 | ext/UiaDll/UiaDll/AutomationFinder.h |
rautomation-0.9.1 | ext/UiaDll/UiaDll/AutomationFinder.h |
rautomation-0.9.0 | ext/UiaDll/UiaDll/AutomationFinder.h |