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