1 interface inheriting from ITextRange
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\Tom.cs (1)
141internal interface ITextSelection: ITextRange
53 references to ITextRange
UIAutomationClientSideProviders (53)
MS\Internal\AutomationProxies\Tom.cs (8)
65ITextRange Range(int cp1, int cp2); 67ITextRange RangeFromPoint(int x, int y); 87ITextRange GetDuplicate(); 101TomBool InRange(ITextRange range); 103TomBool IsEqual(ITextRange range); 150new ITextRange GetDuplicate(); 164new TomBool InRange(ITextRange range); 166new TomBool IsEqual(ITextRange range);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (9)
230ITextRange range = null; 249ITextRange range = GetVisibleRange(); 273ITextRange range = _document.RangeFromPoint((int)screenLocation.X, (int)screenLocation.Y); 313ITextRange range = _document.Range(0, 0); 339internal ITextRange GetVisibleRange() 345ITextRange range = _document.RangeFromPoint(x, y); 370ITextRange rangeAdjust = _document.Range(0, range.Start - 1); 398ITextRange rangeAdjust = _document.Range(range.End, end); 511ITextRange range = _document.Range(0, 0);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (36)
22internal WindowsRichEditRange(ITextRange range, WindowsRichEdit pattern) 42ITextRange range = _range.GetDuplicate(); 72ITextRange charRange = _range.GetDuplicate(); 75ITextRange paraRange = _range.GetDuplicate(); 128ITextRange range = _range.GetDuplicate(); 160ITextRange visibleRange = _pattern.GetVisibleRange(); 179ITextRange range = _pattern.Document.Range(start, start); 237ITextRange range = _range.GetDuplicate(); 304ITextRange range = ((WindowsRichEditRange)targetRange)._range; 357ITextRange range = _range.GetDuplicate(); 457ITextRange subrange = FirstUnit(_range); 510ITextRange subrange = LastUnit(_range); 551private object GetAttributeValueForRange(ITextRange range, AutomationTextAttribute attribute) 697private static object GetFontName(ITextRange range) 715for (ITextRange unitRange = FirstUnit(range); NextUnit(end, unitRange, TomUnit.tomCharFormat); ) 1115ITextRange charRange = _range.GetDuplicate(); 1118ITextRange paraRange = _range.GetDuplicate(); 1144ITextRange charRange = _range.GetDuplicate(); 1147ITextRange paraRange = _range.GetDuplicate(); 1173ITextRange charRange = _range.GetDuplicate(); 1176ITextRange paraRange = _range.GetDuplicate(); 1202ITextRange charRange = _range.GetDuplicate(); 1205ITextRange paraRange = _range.GetDuplicate(); 1229internal static bool RangeGetPoint(ITextRange range, TomGetPoint type, out int x, out int y) 1283private static ITextRange FirstUnit(ITextRange range) 1286ITextRange subrange = range.GetDuplicate(); 1291private static ITextRange LastUnit(ITextRange range) 1294ITextRange subrange = range.GetDuplicate(); 1299private static bool NextUnit(int end, ITextRange subrange, TomUnit unit) 1321private static bool PreviousUnit(int start, ITextRange subrange, TomUnit unit) 1344private static Rect CalculateOneLineRangeRectangle(ITextRange lineRange, Rect clientRect) 1353ITextRange range = lineRange.GetDuplicate(); 1423private static bool TrimRectangleByRangeCorners(ITextRange range, ref Rect rect) 1493private ITextRange _range; // alert: this can point to different ITextRange objects over the lifetime of this WindowsRichEditRange.