Method | Description | |
---|---|---|
AutomationElementFromCustomId ( |
||
CountParagraphs ( string actualText ) : int |
Count # of LF within a TextPatternRange (provide agnostic... for now)
|
|
GetClassName ( |
Gets ClassName property
|
|
GetClassName ( |
Gets ClassName and LocalizedControlType properties
|
|
IdentifySupportedTextUnits ( |
Identifies supported text units. Some units will map upwards TextUnit.Page, for example, maps up to a Document for all controls/providers except Word/Office
|
|
IsRichEdit ( |
Identify if we're on RichEdit control or not
|
|
ProviderSupportedTextSelection ( ) : SupportedTextSelection |
Does underlying application / provider support text selection ? - Win32: Yes. Always - Avalon: ??? (likely yes, always) - Trident: Yes, no, maybe. See TextPattern spec for variatances. - Office: TBD
|
|
Win32CountLines ( AutomationElement element ) : int |
Method | Description | |
---|---|---|
CountTextUnit ( TextUnit tu, |
||
CountTrailingCRLF ( |
||
GetTrailingCRLFOffset ( string text ) : int | ||
IsMultiLine ( |
||
SendOneKey ( System key, string msg, int sleepTime ) : void | ||
SendThreeKeys ( System key1, System key2, System key3, string msg, int sleepTime ) : void | ||
SendTwoKeys ( System key1, System key2, string msg, int sleepTime ) : void | ||
SetProvider ( string _typeOfProvider ) : void | ||
TrimRangeCRLF ( AutomationElement autoElement, TextPatternRange callingRange ) : void | ||
Win32CountTextUnit ( TextUnit textUnit, TextPatternRange rangeToCount ) : int |
Count a single TextUnit
|
|
Win32IsStyle ( AutomationElement element, int style ) : bool | ||
win32_IdentifySupportedTextUnits ( AutomationElement element, TextUnit targetUnit ) : TextUnit |
static public AutomationElementFromCustomId ( |
||
element | ||
identifier | object | |
verbose | bool | |
return |
public static CountParagraphs ( string actualText ) : int | ||
actualText | string | |
return | int |
public static GetClassName ( |
||
autoElement | ||
return | string |
public static GetClassName ( |
||
autoElement | ||
className | string | |
localizedControlType | string | |
return | void |
public static IdentifySupportedTextUnits ( |
||
element | ||
supportedTextUnits | TextUnit | |
return | void |
public static IsRichEdit ( |
||
autoElement | ||
return | bool |
public static ProviderSupportedTextSelection ( ) : SupportedTextSelection | ||
return | SupportedTextSelection |
public static Win32CountLines ( AutomationElement element ) : int | ||
element | AutomationElement | |
return | int |