C# Class System.Windows.Automation.ControlType

Inheritance: AutomationIdentifier
Datei anzeigen Open project: apetrovskiy/STUPS Class Usage Examples

Public Properties

Property Type Description
Button ControlType
Calendar ControlType
CheckBox ControlType
ComboBox ControlType
Custom ControlType
DataGrid ControlType
DataItem ControlType
Document ControlType
Edit ControlType
Group ControlType
Header ControlType
HeaderItem ControlType
Hyperlink ControlType
Image ControlType
List ControlType
ListItem ControlType
Menu ControlType
MenuBar ControlType
MenuItem ControlType
Pane ControlType
ProgressBar ControlType
RadioButton ControlType
ScrollBar ControlType
Separator ControlType
Slider ControlType
Spinner ControlType
SplitButton ControlType
StatusBar ControlType
Tab ControlType
TabItem ControlType
Table ControlType
Text ControlType
Thumb ControlType
TitleBar ControlType
ToolBar ControlType
ToolTip ControlType
Tree ControlType
TreeItem ControlType
Window ControlType

Public Methods

Method Description
GetNeverSupportedPatterns ( ) : System.Windows.Automation.AutomationPattern[]
GetRequiredPatternSets ( ) : System.Windows.Automation.AutomationPattern[][]
GetRequiredProperties ( ) : System.Windows.Automation.AutomationProperty[]
LookupById ( int id ) : ControlType

Private Methods

Method Description
ControlType ( ) : System

Ensures the types are not marked with the beforefieldinit flag (causing lazy initialization). This ensures the registration (mapping) of the control GUIDs to the Uia_ControlIds is guaranteed to exist during first access of the '_identifierDirectory' via ControlType.LookupById() Note on the static constructor performance: The performance points measured typically depend on the initialization that goes with the type initialization. So if that's within permissible limits, in this case the Register() calls for the controltypes which aren't expensive, having static constructor isn't that bad. Follow link for more details. http://coderjournal.com/2009/08/static-constructors-in-net-3-5-still-a-bad-thing/

ControlType ( int id, System.Guid guid, string programmaticName ) : System
Register ( System.Guid guid, string programmaticName ) : ControlType
Register ( System.Guid guid, string programmaticName, AutomationPattern requiredPatternsSets ) : ControlType
Register ( System.Guid guid, string programmaticName, AutomationProperty requiredProperties ) : ControlType
Register ( System.Guid guid, string programmaticName, AutomationProperty requiredProperties, AutomationPattern neverSupportedPatterns, AutomationPattern requiredPatternsSets ) : ControlType

Method Details

GetNeverSupportedPatterns() public method

public GetNeverSupportedPatterns ( ) : System.Windows.Automation.AutomationPattern[]
return System.Windows.Automation.AutomationPattern[]

GetRequiredPatternSets() public method

public GetRequiredPatternSets ( ) : System.Windows.Automation.AutomationPattern[][]
return System.Windows.Automation.AutomationPattern[][]

GetRequiredProperties() public method

public GetRequiredProperties ( ) : System.Windows.Automation.AutomationProperty[]
return System.Windows.Automation.AutomationProperty[]

LookupById() public static method

public static LookupById ( int id ) : ControlType
id int
return ControlType

Property Details

Button public_oe static_oe property

public static ControlType,System.Windows.Automation Button
return ControlType

Calendar public_oe static_oe property

public static ControlType,System.Windows.Automation Calendar
return ControlType

CheckBox public_oe static_oe property

public static ControlType,System.Windows.Automation CheckBox
return ControlType

ComboBox public_oe static_oe property

public static ControlType,System.Windows.Automation ComboBox
return ControlType

Custom public_oe static_oe property

public static ControlType,System.Windows.Automation Custom
return ControlType

DataGrid public_oe static_oe property

public static ControlType,System.Windows.Automation DataGrid
return ControlType

DataItem public_oe static_oe property

public static ControlType,System.Windows.Automation DataItem
return ControlType

Document public_oe static_oe property

public static ControlType,System.Windows.Automation Document
return ControlType

Edit public_oe static_oe property

public static ControlType,System.Windows.Automation Edit
return ControlType

Group public_oe static_oe property

public static ControlType,System.Windows.Automation Group
return ControlType

Header public_oe static_oe property

public static ControlType,System.Windows.Automation Header
return ControlType

HeaderItem public_oe static_oe property

public static ControlType,System.Windows.Automation HeaderItem
return ControlType

Hyperlink public_oe static_oe property

public static ControlType,System.Windows.Automation Hyperlink
return ControlType

Image public_oe static_oe property

public static ControlType,System.Windows.Automation Image
return ControlType

List public_oe static_oe property

public static ControlType,System.Windows.Automation List
return ControlType

ListItem public_oe static_oe property

public static ControlType,System.Windows.Automation ListItem
return ControlType

Menu public_oe static_oe property

public static ControlType,System.Windows.Automation Menu
return ControlType

MenuBar public_oe static_oe property

public static ControlType,System.Windows.Automation MenuBar
return ControlType

MenuItem public_oe static_oe property

public static ControlType,System.Windows.Automation MenuItem
return ControlType

Pane public_oe static_oe property

public static ControlType,System.Windows.Automation Pane
return ControlType

ProgressBar public_oe static_oe property

public static ControlType,System.Windows.Automation ProgressBar
return ControlType

RadioButton public_oe static_oe property

public static ControlType,System.Windows.Automation RadioButton
return ControlType

ScrollBar public_oe static_oe property

public static ControlType,System.Windows.Automation ScrollBar
return ControlType

Separator public_oe static_oe property

public static ControlType,System.Windows.Automation Separator
return ControlType

Slider public_oe static_oe property

public static ControlType,System.Windows.Automation Slider
return ControlType

Spinner public_oe static_oe property

public static ControlType,System.Windows.Automation Spinner
return ControlType

SplitButton public_oe static_oe property

public static ControlType,System.Windows.Automation SplitButton
return ControlType

StatusBar public_oe static_oe property

public static ControlType,System.Windows.Automation StatusBar
return ControlType

Tab public_oe static_oe property

public static ControlType,System.Windows.Automation Tab
return ControlType

TabItem public_oe static_oe property

public static ControlType,System.Windows.Automation TabItem
return ControlType

Table public_oe static_oe property

public static ControlType,System.Windows.Automation Table
return ControlType

Text public_oe static_oe property

public static ControlType,System.Windows.Automation Text
return ControlType

Thumb public_oe static_oe property

public static ControlType,System.Windows.Automation Thumb
return ControlType

TitleBar public_oe static_oe property

public static ControlType,System.Windows.Automation TitleBar
return ControlType

ToolBar public_oe static_oe property

public static ControlType,System.Windows.Automation ToolBar
return ControlType

ToolTip public_oe static_oe property

public static ControlType,System.Windows.Automation ToolTip
return ControlType

Tree public_oe static_oe property

public static ControlType,System.Windows.Automation Tree
return ControlType

TreeItem public_oe static_oe property

public static ControlType,System.Windows.Automation TreeItem
return ControlType

Window public_oe static_oe property

public static ControlType,System.Windows.Automation Window
return ControlType