C# Class System.Windows.Automation.TextPattern

Inheritance: BasePattern
显示文件 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_oe static_oe property

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

BackgroundColorAttribute public_oe static_oe property

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

BulletStyleAttribute public_oe static_oe property

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

CapStyleAttribute public_oe static_oe property

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

CultureAttribute public_oe static_oe property

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

FontNameAttribute public_oe static_oe property

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

FontSizeAttribute public_oe static_oe property

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

FontWeightAttribute public_oe static_oe property

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

ForegroundColorAttribute public_oe static_oe property

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

HorizontalTextAlignmentAttribute public_oe static_oe property

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

IndentationFirstLineAttribute public_oe static_oe property

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

IndentationLeadingAttribute public_oe static_oe property

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

IndentationTrailingAttribute public_oe static_oe property

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

IsHiddenAttribute public_oe static_oe property

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

IsItalicAttribute public_oe static_oe property

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

IsReadOnlyAttribute public_oe static_oe property

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

IsSubscriptAttribute public_oe static_oe property

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

IsSuperscriptAttribute public_oe static_oe property

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

MarginBottomAttribute public_oe static_oe property

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

MarginLeadingAttribute public_oe static_oe property

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

MarginTopAttribute public_oe static_oe property

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

MarginTrailingAttribute public_oe static_oe property

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

MixedAttributeValue public_oe static_oe property

public static object MixedAttributeValue
return object

OutlineStylesAttribute public_oe static_oe property

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

OverlineColorAttribute public_oe static_oe property

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

OverlineStyleAttribute public_oe static_oe property

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

Pattern public_oe static_oe property

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

StrikethroughColorAttribute public_oe static_oe property

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

StrikethroughStyleAttribute public_oe static_oe property

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

TabsAttribute public_oe static_oe property

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

TextChangedEvent public_oe static_oe property

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

TextFlowDirectionsAttribute public_oe static_oe property

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

TextSelectionChangedEvent public_oe static_oe property

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

UnderlineColorAttribute public_oe static_oe property

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

UnderlineStyleAttribute public_oe static_oe property

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