Sha256: 7b20198a95b132055d3a5bf956b9a5f3459452fd69ae8519013e07e042b23df2

Contents?: true

Size: 546 Bytes

Versions: 6

Compression:

Stored size: 546 Bytes

Contents

#pragma once
#include "automationcontrol.h"
ref class SelectionItem :
public AutomationControl
{
public:
  SelectionItem(const HWND windowHandle);
  SelectionItem(const FindInformation& findInformation);

  property bool IsSelected {
    bool get() { return AsSelectionItemPattern->Current.IsSelected; }
  }

private:
	property SelectionItemPattern^ AsSelectionItemPattern {
		SelectionItemPattern^ get() {
			return dynamic_cast<SelectionItemPattern^>(_control->GetCurrentPattern(SelectionItemPattern::Pattern));
		}
	}
};

Version data entries

6 entries across 6 versions & 1 rubygems

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