16 references to GetTextLength
UIAutomationClientSideProviders (16)
MS\Internal\AutomationProxies\WindowsEditBox.cs (9)
382return new WindowsEditBoxRange(this, 0, GetTextLength()); 579return Misc.ProxyGetText(_hwnd, GetTextLength()); 642int limit = GetTextLength(); 678Debug.Assert(index <= GetTextLength(), "WindowsEditBox.LineFromChar index out of range."); 687return index >=0 ? index : GetTextLength(); 740Debug.Assert(index < GetTextLength(), "WindowsEditBox.PosFromChar index out of range."); 770bool useNext = index<GetTextLength()-1 && LineFromChar(index+1)==LineFromChar(index); 799Debug.Assert(start <= GetTextLength(), "WindowsEditBox.SetSel start out of range."); 801Debug.Assert(end <= GetTextLength(), "WindowsEditBox.SetSel end out of range.");
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (7)
144MoveTo(0, _provider.GetTextLength()); 169MoveTo(0, _provider.GetTextLength()); 820int limit = _provider.GetTextLength() ; 878index = _provider.GetTextLength(); 905int limit = _provider.GetTextLength(); 931int limit = _provider.GetTextLength(); 1074int limit = _provider.GetTextLength();