C# Class System.Windows.Automation.ControlType

Inheritance: AutomationIdentifier
Afficher le fichier Open project: apetrovskiy/STUPS Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public GetNeverSupportedPatterns ( ) : System.Windows.Automation.AutomationPattern[]
Résultat System.Windows.Automation.AutomationPattern[]

GetRequiredPatternSets() public méthode

public GetRequiredPatternSets ( ) : System.Windows.Automation.AutomationPattern[][]
Résultat System.Windows.Automation.AutomationPattern[][]

GetRequiredProperties() public méthode

public GetRequiredProperties ( ) : System.Windows.Automation.AutomationProperty[]
Résultat System.Windows.Automation.AutomationProperty[]

LookupById() public static méthode

public static LookupById ( int id ) : ControlType
id int
Résultat ControlType

Property Details

Button public_oe static_oe property

public static ControlType,System.Windows.Automation Button
Résultat ControlType

Calendar public_oe static_oe property

public static ControlType,System.Windows.Automation Calendar
Résultat ControlType

CheckBox public_oe static_oe property

public static ControlType,System.Windows.Automation CheckBox
Résultat ControlType

ComboBox public_oe static_oe property

public static ControlType,System.Windows.Automation ComboBox
Résultat ControlType

Custom public_oe static_oe property

public static ControlType,System.Windows.Automation Custom
Résultat ControlType

DataGrid public_oe static_oe property

public static ControlType,System.Windows.Automation DataGrid
Résultat ControlType

DataItem public_oe static_oe property

public static ControlType,System.Windows.Automation DataItem
Résultat ControlType

Document public_oe static_oe property

public static ControlType,System.Windows.Automation Document
Résultat ControlType

Edit public_oe static_oe property

public static ControlType,System.Windows.Automation Edit
Résultat ControlType

Group public_oe static_oe property

public static ControlType,System.Windows.Automation Group
Résultat ControlType

Header public_oe static_oe property

public static ControlType,System.Windows.Automation Header
Résultat ControlType

HeaderItem public_oe static_oe property

public static ControlType,System.Windows.Automation HeaderItem
Résultat ControlType

Hyperlink public_oe static_oe property

public static ControlType,System.Windows.Automation Hyperlink
Résultat ControlType

Image public_oe static_oe property

public static ControlType,System.Windows.Automation Image
Résultat ControlType

List public_oe static_oe property

public static ControlType,System.Windows.Automation List
Résultat ControlType

ListItem public_oe static_oe property

public static ControlType,System.Windows.Automation ListItem
Résultat ControlType

Menu public_oe static_oe property

public static ControlType,System.Windows.Automation Menu
Résultat ControlType

MenuBar public_oe static_oe property

public static ControlType,System.Windows.Automation MenuBar
Résultat ControlType

MenuItem public_oe static_oe property

public static ControlType,System.Windows.Automation MenuItem
Résultat ControlType

Pane public_oe static_oe property

public static ControlType,System.Windows.Automation Pane
Résultat ControlType

ProgressBar public_oe static_oe property

public static ControlType,System.Windows.Automation ProgressBar
Résultat ControlType

RadioButton public_oe static_oe property

public static ControlType,System.Windows.Automation RadioButton
Résultat ControlType

ScrollBar public_oe static_oe property

public static ControlType,System.Windows.Automation ScrollBar
Résultat ControlType

Separator public_oe static_oe property

public static ControlType,System.Windows.Automation Separator
Résultat ControlType

Slider public_oe static_oe property

public static ControlType,System.Windows.Automation Slider
Résultat ControlType

Spinner public_oe static_oe property

public static ControlType,System.Windows.Automation Spinner
Résultat ControlType

SplitButton public_oe static_oe property

public static ControlType,System.Windows.Automation SplitButton
Résultat ControlType

StatusBar public_oe static_oe property

public static ControlType,System.Windows.Automation StatusBar
Résultat ControlType

Tab public_oe static_oe property

public static ControlType,System.Windows.Automation Tab
Résultat ControlType

TabItem public_oe static_oe property

public static ControlType,System.Windows.Automation TabItem
Résultat ControlType

Table public_oe static_oe property

public static ControlType,System.Windows.Automation Table
Résultat ControlType

Text public_oe static_oe property

public static ControlType,System.Windows.Automation Text
Résultat ControlType

Thumb public_oe static_oe property

public static ControlType,System.Windows.Automation Thumb
Résultat ControlType

TitleBar public_oe static_oe property

public static ControlType,System.Windows.Automation TitleBar
Résultat ControlType

ToolBar public_oe static_oe property

public static ControlType,System.Windows.Automation ToolBar
Résultat ControlType

ToolTip public_oe static_oe property

public static ControlType,System.Windows.Automation ToolTip
Résultat ControlType

Tree public_oe static_oe property

public static ControlType,System.Windows.Automation Tree
Résultat ControlType

TreeItem public_oe static_oe property

public static ControlType,System.Windows.Automation TreeItem
Résultat ControlType

Window public_oe static_oe property

public static ControlType,System.Windows.Automation Window
Résultat ControlType