1 interface inheriting from ITextRange
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\Tom.cs (1)
140internal interface ITextSelection: ITextRange
53 references to ITextRange
UIAutomationClientSideProviders (53)
MS\Internal\AutomationProxies\Tom.cs (8)
64ITextRange Range(int cp1, int cp2); 66ITextRange RangeFromPoint(int x, int y); 86ITextRange GetDuplicate(); 100TomBool InRange(ITextRange range); 102TomBool IsEqual(ITextRange range); 149new ITextRange GetDuplicate(); 163new TomBool InRange(ITextRange range); 165new TomBool IsEqual(ITextRange range);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (9)
229ITextRange range = null; 248ITextRange range = GetVisibleRange(); 272ITextRange range = _document.RangeFromPoint((int)screenLocation.X, (int)screenLocation.Y); 312ITextRange range = _document.Range(0, 0); 338internal ITextRange GetVisibleRange() 344ITextRange range = _document.RangeFromPoint(x, y); 369ITextRange rangeAdjust = _document.Range(0, range.Start - 1); 397ITextRange rangeAdjust = _document.Range(range.End, end); 510ITextRange range = _document.Range(0, 0);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (36)
21internal WindowsRichEditRange(ITextRange range, WindowsRichEdit pattern) 41ITextRange range = _range.GetDuplicate(); 71ITextRange charRange = _range.GetDuplicate(); 74ITextRange paraRange = _range.GetDuplicate(); 127ITextRange range = _range.GetDuplicate(); 159ITextRange visibleRange = _pattern.GetVisibleRange(); 178ITextRange range = _pattern.Document.Range(start, start); 236ITextRange range = _range.GetDuplicate(); 303ITextRange range = ((WindowsRichEditRange)targetRange)._range; 356ITextRange range = _range.GetDuplicate(); 456ITextRange subrange = FirstUnit(_range); 509ITextRange subrange = LastUnit(_range); 550private object GetAttributeValueForRange(ITextRange range, AutomationTextAttribute attribute) 696private static object GetFontName(ITextRange range) 714for (ITextRange unitRange = FirstUnit(range); NextUnit(end, unitRange, TomUnit.tomCharFormat); ) 1114ITextRange charRange = _range.GetDuplicate(); 1117ITextRange paraRange = _range.GetDuplicate(); 1143ITextRange charRange = _range.GetDuplicate(); 1146ITextRange paraRange = _range.GetDuplicate(); 1172ITextRange charRange = _range.GetDuplicate(); 1175ITextRange paraRange = _range.GetDuplicate(); 1201ITextRange charRange = _range.GetDuplicate(); 1204ITextRange paraRange = _range.GetDuplicate(); 1228internal static bool RangeGetPoint(ITextRange range, TomGetPoint type, out int x, out int y) 1282private static ITextRange FirstUnit(ITextRange range) 1285ITextRange subrange = range.GetDuplicate(); 1290private static ITextRange LastUnit(ITextRange range) 1293ITextRange subrange = range.GetDuplicate(); 1298private static bool NextUnit(int end, ITextRange subrange, TomUnit unit) 1320private static bool PreviousUnit(int start, ITextRange subrange, TomUnit unit) 1343private static Rect CalculateOneLineRangeRectangle(ITextRange lineRange, Rect clientRect) 1352ITextRange range = lineRange.GetDuplicate(); 1422private static bool TrimRectangleByRangeCorners(ITextRange range, ref Rect rect) 1492private ITextRange _range; // alert: this can point to different ITextRange objects over the lifetime of this WindowsRichEditRange.