GPAL - Generally Positive Automation Library
v1.0
GPAL The Fluent Automation LIbrary
Toggle main menu visibility
Loading...
Searching...
No Matches
IGPALAutomationElement.cs
1
// =============================================================================
2
// GPAL - Generally Positive Automation Library
3
// Copyright © 2026 Software Decisions, Inc. All rights reserved.
4
//
5
// This file is part of GPAL.
6
// Licensed under the Business Source License 1.1
7
//
8
// Primary development, architecture, and vision by Michael B. Vederman,
9
// CEO of Software Decisions, Inc., Texas.
10
//
11
// Internal development maintained privately.
12
// Public releases appear on GitHub: https://github.com/SoftwareDecisionsInc/GPAL.
13
//
14
// See LICENSE for full terms, including Additional Use Grant.
15
// =============================================================================
16
17
//extern alias mUIA;
18
using
System.Windows.Automation;
19
20
namespace
GenerallyPositive.Application
21
{
22
public
interface
IGPALAutomationElement
23
{
24
AutomationElement Ae {
get
;
set
; }
25
IGPALElement
Gae {
get
;
set
; }
26
// mUIA.System.Windows.Automation.AutomationElement Mae { get; set; }
27
28
// the same properties a page element carries, spelled the same way, so a workflow reading an element
29
// in a handler asks the same questions of a window as it does of a page
31
bool
Selected
{
get
; }
32
34
bool
?
Checked
{
get
; }
35
37
bool
Enabled
{
get
; }
38
40
bool
Displayed
{
get
; }
41
43
string
Text
{
get
; }
44
46
string
TagName
{
get
; }
47
49
string
Name
{
get
; }
50
52
System.Drawing.Point
Location
{
get
; }
53
55
System.Drawing.Size
Size
{
get
; }
56
}
57
}
GenerallyPositive.Application.IGPALAutomationElement
Definition
IGPALAutomationElement.cs:23
GenerallyPositive.Application.IGPALAutomationElement.Displayed
bool Displayed
Whether the element is on screen.
Definition
IGPALAutomationElement.cs:40
GenerallyPositive.Application.IGPALAutomationElement.Enabled
bool Enabled
Whether the element is enabled.
Definition
IGPALAutomationElement.cs:37
GenerallyPositive.Application.IGPALAutomationElement.Size
System.Drawing.Size Size
Dimensions of the element.
Definition
IGPALAutomationElement.cs:55
GenerallyPositive.Application.IGPALAutomationElement.Checked
bool? Checked
A checkbox's three states: true ticked, false clear, null for the third one.
Definition
IGPALAutomationElement.cs:34
GenerallyPositive.Application.IGPALAutomationElement.Location
System.Drawing.Point Location
Screen coordinates of the element.
Definition
IGPALAutomationElement.cs:52
GenerallyPositive.Application.IGPALAutomationElement.Name
string Name
The element's name, which is how a window labels a control.
Definition
IGPALAutomationElement.cs:49
GenerallyPositive.Application.IGPALAutomationElement.Selected
bool Selected
Whether the element is selected, the same question GPALElement.Selected answers on a page.
Definition
IGPALAutomationElement.cs:31
GenerallyPositive.Application.IGPALAutomationElement.TagName
string TagName
What kind of control this is, which is a window's answer to a tag name.
Definition
IGPALAutomationElement.cs:46
GenerallyPositive.Application.IGPALAutomationElement.Text
string Text
The element's text.
Definition
IGPALAutomationElement.cs:43
GenerallyPositive.IGPALElement
Definition
Interfaces.cs:1629
GenerallyPositive.Application
Definition
Application.cs:35
Application
IGPALAutomationElement.cs
Generated by
1.17.0