16 references to GetTextLength
UIAutomationClientSideProviders (16)
MS\Internal\AutomationProxies\WindowsEditBox.cs (9)
383return new WindowsEditBoxRange(this, 0, GetTextLength()); 580return Misc.ProxyGetText(_hwnd, GetTextLength()); 643int limit = GetTextLength(); 679Debug.Assert(index <= GetTextLength(), "WindowsEditBox.LineFromChar index out of range."); 688return index >=0 ? index : GetTextLength(); 741Debug.Assert(index < GetTextLength(), "WindowsEditBox.PosFromChar index out of range."); 771bool useNext = index<GetTextLength()-1 && LineFromChar(index+1)==LineFromChar(index); 800Debug.Assert(start <= GetTextLength(), "WindowsEditBox.SetSel start out of range."); 802Debug.Assert(end <= GetTextLength(), "WindowsEditBox.SetSel end out of range.");
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (7)
145MoveTo(0, _provider.GetTextLength()); 170MoveTo(0, _provider.GetTextLength()); 821int limit = _provider.GetTextLength() ; 879index = _provider.GetTextLength(); 906int limit = _provider.GetTextLength(); 932int limit = _provider.GetTextLength(); 1075int limit = _provider.GetTextLength();