C# Class System.Windows.Automation.TextPattern

Inheritance: BasePattern
Show file Open project: apetrovskiy/STUPS Class Usage Examples

Public Properties

Property Type Description
AnimationStyleAttribute AutomationTextAttribute
BackgroundColorAttribute AutomationTextAttribute
BulletStyleAttribute AutomationTextAttribute
CapStyleAttribute AutomationTextAttribute
CultureAttribute AutomationTextAttribute
FontNameAttribute AutomationTextAttribute
FontSizeAttribute AutomationTextAttribute
FontWeightAttribute AutomationTextAttribute
ForegroundColorAttribute AutomationTextAttribute
HorizontalTextAlignmentAttribute AutomationTextAttribute
IndentationFirstLineAttribute AutomationTextAttribute
IndentationLeadingAttribute AutomationTextAttribute
IndentationTrailingAttribute AutomationTextAttribute
IsHiddenAttribute AutomationTextAttribute
IsItalicAttribute AutomationTextAttribute
IsReadOnlyAttribute AutomationTextAttribute
IsSubscriptAttribute AutomationTextAttribute
IsSuperscriptAttribute AutomationTextAttribute
MarginBottomAttribute AutomationTextAttribute
MarginLeadingAttribute AutomationTextAttribute
MarginTopAttribute AutomationTextAttribute
MarginTrailingAttribute AutomationTextAttribute
MixedAttributeValue object
OutlineStylesAttribute AutomationTextAttribute
OverlineColorAttribute AutomationTextAttribute
OverlineStyleAttribute AutomationTextAttribute
Pattern AutomationPattern
StrikethroughColorAttribute AutomationTextAttribute
StrikethroughStyleAttribute AutomationTextAttribute
TabsAttribute AutomationTextAttribute
TextChangedEvent AutomationEvent
TextFlowDirectionsAttribute AutomationTextAttribute
TextSelectionChangedEvent AutomationEvent
UnderlineColorAttribute AutomationTextAttribute
UnderlineStyleAttribute AutomationTextAttribute

Public Methods

Method Description
GetSelection ( ) : System.Windows.Automation.Text.TextPatternRange[]
GetVisibleRanges ( ) : System.Windows.Automation.Text.TextPatternRange[]
RangeFromChild ( AutomationElement childElement ) : TextPatternRange
RangeFromPoint ( System.Point screenLocation ) : TextPatternRange

Protected Methods

Method Description
TextPattern ( AutomationElement el, UIAutomationClient pattern, bool cached ) : System

Private Methods

Method Description
Wrap ( AutomationElement el, object pattern, bool cached ) : object

Method Details

GetSelection() public method

public GetSelection ( ) : System.Windows.Automation.Text.TextPatternRange[]
return System.Windows.Automation.Text.TextPatternRange[]

GetVisibleRanges() public method

public GetVisibleRanges ( ) : System.Windows.Automation.Text.TextPatternRange[]
return System.Windows.Automation.Text.TextPatternRange[]

RangeFromChild() public method

public RangeFromChild ( AutomationElement childElement ) : TextPatternRange
childElement AutomationElement
return System.Windows.Automation.Text.TextPatternRange

RangeFromPoint() public method

public RangeFromPoint ( System.Point screenLocation ) : TextPatternRange
screenLocation System.Point
return System.Windows.Automation.Text.TextPatternRange

TextPattern() protected method

protected TextPattern ( AutomationElement el, UIAutomationClient pattern, bool cached ) : System
el AutomationElement
pattern UIAutomationClient
cached bool
return System

Property Details

AnimationStyleAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation AnimationStyleAttribute
return AutomationTextAttribute

BackgroundColorAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation BackgroundColorAttribute
return AutomationTextAttribute

BulletStyleAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation BulletStyleAttribute
return AutomationTextAttribute

CapStyleAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation CapStyleAttribute
return AutomationTextAttribute

CultureAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation CultureAttribute
return AutomationTextAttribute

FontNameAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation FontNameAttribute
return AutomationTextAttribute

FontSizeAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation FontSizeAttribute
return AutomationTextAttribute

FontWeightAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation FontWeightAttribute
return AutomationTextAttribute

ForegroundColorAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation ForegroundColorAttribute
return AutomationTextAttribute

HorizontalTextAlignmentAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation HorizontalTextAlignmentAttribute
return AutomationTextAttribute

IndentationFirstLineAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation IndentationFirstLineAttribute
return AutomationTextAttribute

IndentationLeadingAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation IndentationLeadingAttribute
return AutomationTextAttribute

IndentationTrailingAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation IndentationTrailingAttribute
return AutomationTextAttribute

IsHiddenAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation IsHiddenAttribute
return AutomationTextAttribute

IsItalicAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation IsItalicAttribute
return AutomationTextAttribute

IsReadOnlyAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation IsReadOnlyAttribute
return AutomationTextAttribute

IsSubscriptAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation IsSubscriptAttribute
return AutomationTextAttribute

IsSuperscriptAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation IsSuperscriptAttribute
return AutomationTextAttribute

MarginBottomAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation MarginBottomAttribute
return AutomationTextAttribute

MarginLeadingAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation MarginLeadingAttribute
return AutomationTextAttribute

MarginTopAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation MarginTopAttribute
return AutomationTextAttribute

MarginTrailingAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation MarginTrailingAttribute
return AutomationTextAttribute

MixedAttributeValue public static property

public static object MixedAttributeValue
return object

OutlineStylesAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation OutlineStylesAttribute
return AutomationTextAttribute

OverlineColorAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation OverlineColorAttribute
return AutomationTextAttribute

OverlineStyleAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation OverlineStyleAttribute
return AutomationTextAttribute

Pattern public static property

public static AutomationPattern,System.Windows.Automation Pattern
return AutomationPattern

StrikethroughColorAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation StrikethroughColorAttribute
return AutomationTextAttribute

StrikethroughStyleAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation StrikethroughStyleAttribute
return AutomationTextAttribute

TabsAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation TabsAttribute
return AutomationTextAttribute

TextChangedEvent public static property

public static AutomationEvent,System.Windows.Automation TextChangedEvent
return AutomationEvent

TextFlowDirectionsAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation TextFlowDirectionsAttribute
return AutomationTextAttribute

TextSelectionChangedEvent public static property

public static AutomationEvent,System.Windows.Automation TextSelectionChangedEvent
return AutomationEvent

UnderlineColorAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation UnderlineColorAttribute
return AutomationTextAttribute

UnderlineStyleAttribute public static property

public static AutomationTextAttribute,System.Windows.Automation UnderlineStyleAttribute
return AutomationTextAttribute