16 references to GetTextLength
UIAutomationClientSideProviders (16)
MS\Internal\AutomationProxies\WindowsEditBox.cs (9)
387return new WindowsEditBoxRange(this, 0, GetTextLength()); 584return Misc.ProxyGetText(_hwnd, GetTextLength()); 647int limit = GetTextLength(); 683Debug.Assert(index <= GetTextLength(), "WindowsEditBox.LineFromChar index out of range."); 692return index >=0 ? index : GetTextLength(); 743Debug.Assert(index < GetTextLength(), "WindowsEditBox.PosFromChar index out of range."); 773bool useNext = index<GetTextLength()-1 && LineFromChar(index+1)==LineFromChar(index); 802Debug.Assert(start <= GetTextLength(), "WindowsEditBox.SetSel start out of range."); 804Debug.Assert(end <= GetTextLength(), "WindowsEditBox.SetSel end out of range.");
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (7)
151MoveTo(0, _provider.GetTextLength()); 176MoveTo(0, _provider.GetTextLength()); 827int limit = _provider.GetTextLength() ; 885index = _provider.GetTextLength(); 912int limit = _provider.GetTextLength(); 938int limit = _provider.GetTextLength(); 1081int limit = _provider.GetTextLength();