1 interface inheriting from ITextRange
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\Tom.cs (1)
150internal interface ITextSelection: ITextRange
53 references to ITextRange
UIAutomationClientsideProviders (53)
MS\Internal\AutomationProxies\Tom.cs (8)
74ITextRange Range(int cp1, int cp2); 76ITextRange RangeFromPoint(int x, int y); 96ITextRange GetDuplicate(); 110TomBool InRange(ITextRange range); 112TomBool IsEqual(ITextRange range); 159new ITextRange GetDuplicate(); 173new TomBool InRange(ITextRange range); 175new TomBool IsEqual(ITextRange range);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (9)
246ITextRange range = null; 265ITextRange range = GetVisibleRange(); 289ITextRange range = _document.RangeFromPoint((int)screenLocation.X, (int)screenLocation.Y); 329ITextRange range = _document.Range(0, 0); 383internal ITextRange GetVisibleRange() 389ITextRange range = _document.RangeFromPoint(x, y); 414ITextRange rangeAdjust = _document.Range(0, range.Start - 1); 442ITextRange rangeAdjust = _document.Range(range.End, end); 557ITextRange range = _document.Range(0, 0);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (36)
33internal WindowsRichEditRange(ITextRange range, WindowsRichEdit pattern) 53ITextRange range = _range.GetDuplicate(); 83ITextRange charRange = _range.GetDuplicate(); 86ITextRange paraRange = _range.GetDuplicate(); 151ITextRange range = _range.GetDuplicate(); 183ITextRange visibleRange = _pattern.GetVisibleRange(); 202ITextRange range = _pattern.Document.Range(start, start); 260ITextRange range = _range.GetDuplicate(); 330ITextRange range = ((WindowsRichEditRange)targetRange)._range; 383ITextRange range = _range.GetDuplicate(); 483ITextRange subrange = FirstUnit(_range); 536ITextRange subrange = LastUnit(_range); 577private object GetAttributeValueForRange(ITextRange range, AutomationTextAttribute attribute) 723private static object GetFontName(ITextRange range) 741for (ITextRange unitRange = FirstUnit(range); NextUnit(end, unitRange, TomUnit.tomCharFormat); ) 1141ITextRange charRange = _range.GetDuplicate(); 1144ITextRange paraRange = _range.GetDuplicate(); 1170ITextRange charRange = _range.GetDuplicate(); 1173ITextRange paraRange = _range.GetDuplicate(); 1199ITextRange charRange = _range.GetDuplicate(); 1202ITextRange paraRange = _range.GetDuplicate(); 1228ITextRange charRange = _range.GetDuplicate(); 1231ITextRange paraRange = _range.GetDuplicate(); 1255internal static bool RangeGetPoint(ITextRange range, TomGetPoint type, out int x, out int y) 1309private static ITextRange FirstUnit(ITextRange range) 1312ITextRange subrange = range.GetDuplicate(); 1317private static ITextRange LastUnit(ITextRange range) 1320ITextRange subrange = range.GetDuplicate(); 1325private static bool NextUnit(int end, ITextRange subrange, TomUnit unit) 1347private static bool PreviousUnit(int start, ITextRange subrange, TomUnit unit) 1370private static Rect CalculateOneLineRangeRectangle(ITextRange lineRange, Rect clientRect) 1379ITextRange range = lineRange.GetDuplicate(); 1450private static bool TrimRectangleByRangeCorners(ITextRange range, ref Rect rect) 1520private ITextRange _range; // alert: this can point to different ITextRange objects over the lifetime of this WindowsRichEditRange.