16 references to GetTextLength
UIAutomationClientsideProviders (16)
MS\Internal\AutomationProxies\WindowsEditBox.cs (9)
422return new WindowsEditBoxRange(this, 0, GetTextLength()); 645return Misc.ProxyGetText(_hwnd, GetTextLength()); 708int limit = GetTextLength(); 744Debug.Assert(index <= GetTextLength(), "WindowsEditBox.LineFromChar index out of range."); 753return index >=0 ? index : GetTextLength(); 804Debug.Assert(index < GetTextLength(), "WindowsEditBox.PosFromChar index out of range."); 834bool useNext = index<GetTextLength()-1 && LineFromChar(index+1)==LineFromChar(index); 863Debug.Assert(start <= GetTextLength(), "WindowsEditBox.SetSel start out of range."); 865Debug.Assert(end <= GetTextLength(), "WindowsEditBox.SetSel end out of range.");
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (7)
158MoveTo(0, _provider.GetTextLength()); 183MoveTo(0, _provider.GetTextLength()); 846int limit = _provider.GetTextLength() ; 904index = _provider.GetTextLength(); 931int limit = _provider.GetTextLength(); 957int limit = _provider.GetTextLength(); 1100int limit = _provider.GetTextLength();