1 write to _provider
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
42_provider = provider;
78 references to _provider
UIAutomationClientSideProviders (78)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (78)
57return new WindowsEditBoxRange(_provider, Start, End); 80Misc.SetFocus(_provider._hwnd); 99string text = _provider.GetText(); 136if (_provider.GetLineCount() != 1) 138int startLine = _provider.LineFromChar(Start); 139int endLine = _provider.LineFromChar(End); 141MoveTo(_provider.LineIndex(startLine), _provider.LineIndex(endLine + 1)); 145MoveTo(0, _provider.GetTextLength()); 155string text = _provider.GetText(); 170MoveTo(0, _provider.GetTextLength()); 191return val.Equals(targetAttribute) ? new WindowsEditBoxRange(_provider, Start, End) : null; 199string rangeText = _provider.GetText(); 214return i >= 0 ? new WindowsEditBoxRange(_provider, Start + i, Start + i + text.Length) : null; 235string text = _provider.GetText(); 242if (!Misc.MapWindowPoints(_provider.WindowHandle, IntPtr.Zero, ref w32point, 1)) 249Rect clippingRectangle = _provider.GetRect(); 254if (_provider.IsMultiline) 265Point startPoint = _provider.PosFromChar(Start); 266Point endPoint = _provider.PosFromCharUR(End - 1, text); 287return _provider; 294string text = _provider.GetText(); 301Misc.SetFocus(_provider._hwnd); 355Misc.SetFocus(_provider._hwnd); 419Misc.SetFocus(_provider._hwnd); 438Misc.SetFocus(_provider._hwnd); 440_provider.SetSel(Start, End); 455Misc.SetFocus(_provider._hwnd); 459if (_provider.IsMultiline) 465newFirstLine = _provider.LineFromChar(Start); 470Math.Max(0, _provider.LineFromChar(End) - _provider.LinesPerPage() + 1); 473_provider.LineScroll(Start, newFirstLine - _provider.GetFirstVisibleLine()); 476else if (_provider.IsScrollable) 478Misc.SetFocus(_provider._hwnd); 482_provider.GetVisibleRangePoints(out visibleStart, out visibleEnd); 484if (Misc.IsReadingRTL(_provider._hwnd)) 496_provider.GetVisibleRangePoints(out visibleStart, out visibleEnd); 511_provider.GetVisibleRangePoints(out visibleStart, out visibleEnd); 606rval = GetCapStyle(_provider.WindowStyle); 610rval = GetFontName(_provider.GetLogfont()); 614rval = GetFontSize(_provider.GetLogfont()); 618rval = GetFontWeight(_provider.GetLogfont()); 626rval = GetHorizontalTextAlignment(_provider.WindowStyle); 630rval = GetItalic(_provider.GetLogfont()); 638rval = GetStrikethroughStyle(_provider.GetLogfont()); 642rval = GetUnderlineStyle(_provider.GetLogfont()); 655int height = Math.Abs(_provider.GetLogfont().lfHeight);; 661int startLine = _provider.LineFromChar(start); 662int endLine = _provider.LineFromChar(end - 1); 666int firstVisibleLine = _provider.GetFirstVisibleLine(); 670start = _provider.LineIndex(startLine); 674int lastVisibleLine = firstVisibleLine + _provider.LinesPerPage() - 1; 678end = _provider.LineIndex(endLine) - 1; 683int nextLineIndex = _provider.LineIndex(startLine); 690startPoint = _provider.PosFromChar(start); 694startPoint = _provider.PosFromChar(nextLineIndex); 701endPoint = _provider.PosFromCharUR(end-1, text); 705nextLineIndex = _provider.LineIndex(i + 1); 706endPoint = _provider.PosFromChar(nextLineIndex - 1); 748return _provider.IsReadOnly(); 821int limit = _provider.GetTextLength() ; 833string text = _provider.GetText(); 864int line = _provider.LineFromChar(index); 868int lineMax = _provider.GetLineCount(); 874index = _provider.LineIndex(line + moved); 879index = _provider.GetTextLength(); 889string text = _provider.GetText(); 906int limit = _provider.GetTextLength(); 932int limit = _provider.GetTextLength(); 946string text = _provider.GetText(); 977int line = _provider.LineFromChar(index) + 1; 979int lineMax = _provider.GetLineCount(); 1005((lineMax > 1 && _provider.LineIndex(1) == _lineSeparator.Length) 1020index = _provider.LineIndex(line + actualCount) - _lineSeparator.Length; 1029string text = _provider.GetText(); 1075int limit = _provider.GetTextLength();