2 instantiations of TextPatternRange
UIAutomationClient (2)
System\Windows\Automation\Text\TextRange.cs (2)
74
return new
TextPatternRange
(hTextRange, pattern);
88
ranges[i] = new
TextPatternRange
(hTextRanges[i], pattern);
21 references to TextPatternRange
UIAutomationClient (21)
System\Windows\Automation\Text\TextRange.cs (11)
68
internal static
TextPatternRange
Wrap(SafeTextRangeHandle hTextRange, TextPattern pattern)
77
internal static
TextPatternRange
[] Wrap(SafeTextRangeHandle [] hTextRanges, TextPattern pattern)
82
TextPatternRange
[] ranges = new
TextPatternRange
[hTextRanges.Length];
108
public
TextPatternRange
Clone()
120
public bool Compare(
TextPatternRange
range)
136
public int CompareEndpoints(TextPatternRangeEndpoint endpoint,
TextPatternRange
targetRange, TextPatternRangeEndpoint targetEndpoint)
175
public
TextPatternRange
FindAttribute(AutomationTextAttribute attribute, object value, bool backward)
214
public
TextPatternRange
FindText(string text, bool backward, bool ignoreCase)
344
public void MoveEndpointByRange(TextPatternRangeEndpoint endpoint,
TextPatternRange
targetRange, TextPatternRangeEndpoint targetEndpoint)
448
void ValidateRangeArgument(
TextPatternRange
range, string name)
System\Windows\Automation\TextPattern.cs (10)
173
public
TextPatternRange
[] GetSelection()
176
return
TextPatternRange
.Wrap(hTextRanges, this);
186
public
TextPatternRange
[] GetVisibleRanges()
189
return
TextPatternRange
.Wrap(hTextRanges, this);
199
public
TextPatternRange
RangeFromChild(AutomationElement childElement)
203
return
TextPatternRange
.Wrap(hTextRange, this);
215
public
TextPatternRange
RangeFromPoint(Point screenLocation)
225
return
TextPatternRange
.Wrap(hTextRange, this);
242
public
TextPatternRange
DocumentRange
247
return
TextPatternRange
.Wrap(hTextRange, this);