2 instantiations of TextPatternRange
UIAutomationClient (2)
System\Windows\Automation\Text\TextRange.cs (2)
85
return new
TextPatternRange
(hTextRange, pattern);
99
ranges[i] = new
TextPatternRange
(hTextRanges[i], pattern);
21 references to TextPatternRange
UIAutomationClient (21)
System\Windows\Automation\Text\TextRange.cs (11)
79
internal static
TextPatternRange
Wrap(SafeTextRangeHandle hTextRange, TextPattern pattern)
88
internal static
TextPatternRange
[] Wrap(SafeTextRangeHandle [] hTextRanges, TextPattern pattern)
93
TextPatternRange
[] ranges = new
TextPatternRange
[hTextRanges.Length];
119
public
TextPatternRange
Clone()
131
public bool Compare(
TextPatternRange
range)
147
public int CompareEndpoints(TextPatternRangeEndpoint endpoint,
TextPatternRange
targetRange, TextPatternRangeEndpoint targetEndpoint)
186
public
TextPatternRange
FindAttribute(AutomationTextAttribute attribute, object value, bool backward)
225
public
TextPatternRange
FindText(string text, bool backward, bool ignoreCase)
355
public void MoveEndpointByRange(TextPatternRangeEndpoint endpoint,
TextPatternRange
targetRange, TextPatternRangeEndpoint targetEndpoint)
459
void ValidateRangeArgument(
TextPatternRange
range, string name)
System\Windows\Automation\TextPattern.cs (10)
184
public
TextPatternRange
[] GetSelection()
187
return
TextPatternRange
.Wrap(hTextRanges, this);
197
public
TextPatternRange
[] GetVisibleRanges()
200
return
TextPatternRange
.Wrap(hTextRanges, this);
210
public
TextPatternRange
RangeFromChild(AutomationElement childElement)
217
return
TextPatternRange
.Wrap(hTextRange, this);
229
public
TextPatternRange
RangeFromPoint(Point screenLocation)
239
return
TextPatternRange
.Wrap(hTextRange, this);
256
public
TextPatternRange
DocumentRange
261
return
TextPatternRange
.Wrap(hTextRange, this);