Sha256: 464eecb4b7e43f4f4cee4f4e48d0a01e4c62890d69099f092c598adc8e315615

Contents?: true

Size: 886 Bytes

Versions: 5

Compression:

Stored size: 886 Bytes

Contents

#pragma once

#include "AutomationControl.h"

using namespace System::Windows::Automation;

ref class ExpandCollapseHelper
{
public:
	void ExpandByValue(const FindInformation& findInformation, const char* whichItem);
	void ExpandByIndex(const FindInformation& findInformation, const int whichItemIndex);
	void CollapseByValue(const FindInformation& findInformation, const char* whichItem);
	void CollapseByIndex(const FindInformation& findInformation, const int whichItemIndex);

private:
	AutomationElementCollection^ ExpandableItems(const FindInformation& findInformation);
	AutomationElement^ ExpandableItem(const FindInformation& findInformation, const char* whichItem);
	void Expand(AutomationElement^ automationElement);
	void Collapse(AutomationElement^ automationElement);

	property PropertyCondition^ IsExpandable {
		PropertyCondition^ get();
	}
};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rautomation-0.10.0 ext/UiaDll/UiaDll/ExpandCollapseHelper.h
rautomation-0.9.4 ext/UiaDll/UiaDll/ExpandCollapseHelper.h
rautomation-0.9.3 ext/UiaDll/UiaDll/ExpandCollapseHelper.h
rautomation-0.9.2 ext/UiaDll/UiaDll/ExpandCollapseHelper.h
rautomation-0.9.1 ext/UiaDll/UiaDll/ExpandCollapseHelper.h