1 interface inheriting from ITextRange
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\Tom.cs (1)
142internal interface ITextSelection: ITextRange
53 references to ITextRange
UIAutomationClientSideProviders (53)
MS\Internal\AutomationProxies\Tom.cs (8)
66ITextRange Range(int cp1, int cp2); 68ITextRange RangeFromPoint(int x, int y); 88ITextRange GetDuplicate(); 102TomBool InRange(ITextRange range); 104TomBool IsEqual(ITextRange range); 151new ITextRange GetDuplicate(); 165new TomBool InRange(ITextRange range); 167new TomBool IsEqual(ITextRange range);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (9)
234ITextRange range = null; 253ITextRange range = GetVisibleRange(); 277ITextRange range = _document.RangeFromPoint((int)screenLocation.X, (int)screenLocation.Y); 317ITextRange range = _document.Range(0, 0); 343internal ITextRange GetVisibleRange() 349ITextRange range = _document.RangeFromPoint(x, y); 374ITextRange rangeAdjust = _document.Range(0, range.Start - 1); 402ITextRange rangeAdjust = _document.Range(range.End, end); 515ITextRange range = _document.Range(0, 0);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (36)
26internal WindowsRichEditRange(ITextRange range, WindowsRichEdit pattern) 46ITextRange range = _range.GetDuplicate(); 76ITextRange charRange = _range.GetDuplicate(); 79ITextRange paraRange = _range.GetDuplicate(); 132ITextRange range = _range.GetDuplicate(); 164ITextRange visibleRange = _pattern.GetVisibleRange(); 183ITextRange range = _pattern.Document.Range(start, start); 241ITextRange range = _range.GetDuplicate(); 311ITextRange range = ((WindowsRichEditRange)targetRange)._range; 364ITextRange range = _range.GetDuplicate(); 464ITextRange subrange = FirstUnit(_range); 517ITextRange subrange = LastUnit(_range); 558private object GetAttributeValueForRange(ITextRange range, AutomationTextAttribute attribute) 704private static object GetFontName(ITextRange range) 722for (ITextRange unitRange = FirstUnit(range); NextUnit(end, unitRange, TomUnit.tomCharFormat); ) 1122ITextRange charRange = _range.GetDuplicate(); 1125ITextRange paraRange = _range.GetDuplicate(); 1151ITextRange charRange = _range.GetDuplicate(); 1154ITextRange paraRange = _range.GetDuplicate(); 1180ITextRange charRange = _range.GetDuplicate(); 1183ITextRange paraRange = _range.GetDuplicate(); 1209ITextRange charRange = _range.GetDuplicate(); 1212ITextRange paraRange = _range.GetDuplicate(); 1236internal static bool RangeGetPoint(ITextRange range, TomGetPoint type, out int x, out int y) 1290private static ITextRange FirstUnit(ITextRange range) 1293ITextRange subrange = range.GetDuplicate(); 1298private static ITextRange LastUnit(ITextRange range) 1301ITextRange subrange = range.GetDuplicate(); 1306private static bool NextUnit(int end, ITextRange subrange, TomUnit unit) 1328private static bool PreviousUnit(int start, ITextRange subrange, TomUnit unit) 1351private static Rect CalculateOneLineRangeRectangle(ITextRange lineRange, Rect clientRect) 1360ITextRange range = lineRange.GetDuplicate(); 1430private static bool TrimRectangleByRangeCorners(ITextRange range, ref Rect rect) 1500private ITextRange _range; // alert: this can point to different ITextRange objects over the lifetime of this WindowsRichEditRange.