23 instantiations of UiaTextRange
System.Windows.Forms (21)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (7)
41
new
UiaTextRange
(_owningChildEditAccessibilityObject,
91
*pRetVal = ComHelpers.GetComPointer<ITextRangeProvider>(new
UiaTextRange
(
167
using var selection = ComHelpers.GetComScope<ITextRangeProvider>(new
UiaTextRange
(_owningChildEditAccessibilityObject, this, start, end));
215
using var ranges = ComHelpers.GetComScope<ITextRangeProvider>(new
UiaTextRange
(_owningChildEditAccessibilityObject, this, start, end));
240
new
UiaTextRange
(
275
new
UiaTextRange
(
297
new
UiaTextRange
(
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (7)
47
new
UiaTextRange
(
137
new
UiaTextRange
(
228
using var selection = ComHelpers.GetComScope<ITextRangeProvider>(new
UiaTextRange
(_owningComboBox.ChildEditAccessibleObject, this, start, end));
282
using var ranges = ComHelpers.GetComScope<ITextRangeProvider>(new
UiaTextRange
(_owningComboBox.ChildEditAccessibleObject, this, start, end));
307
new
UiaTextRange
(
348
new
UiaTextRange
(
370
new
UiaTextRange
(
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (7)
49
using var selection = ComHelpers.GetComScope<ITextRangeProvider>(new
UiaTextRange
(Owner.AccessibilityObject, this, start, end));
73
using var ranges = ComHelpers.GetComScope<ITextRangeProvider>(new
UiaTextRange
(Owner.AccessibilityObject, this, start, end));
113
new
UiaTextRange
(
135
new
UiaTextRange
(
147
new
UiaTextRange
(
175
new
UiaTextRange
(
194
new
UiaTextRange
(
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Automation\UiaTextRange.cs (2)
121
*pRetVal = ComHelpers.GetComPointer<ITextRangeProvider>(new
UiaTextRange
(_enclosingElement, _provider, Start, End));
311
? ComHelpers.GetComPointer<ITextRangeProvider>(new
UiaTextRange
(_enclosingElement, _provider, Start + index, Start + index + text.Length))
4 references to UiaTextRange
System.Windows.Forms.Primitives (4)
System\Windows\Forms\Automation\UiaTextRange.cs (4)
120
Debug.Assert(!typeof(
UiaTextRange
).IsAssignableTo(typeof(IDisposable)));
140
*pRetVal = ComHelpers.TryGetObjectForIUnknown((IUnknown*)range, out
UiaTextRange
? editRange) && editRange.Start == Start && editRange.End == End;
156
if (!ComHelpers.TryGetObjectForIUnknown((IUnknown*)targetRange, out
UiaTextRange
? editRange))
560
if (!ComHelpers.TryGetObjectForIUnknown((IUnknown*)targetRange, out
UiaTextRange
? textRange))