3 overrides of GetLineIndex
System.Windows.Forms (3)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
101public override int GetLineIndex(int line) => OwnerChildEditLineIndex;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (1)
150public override int GetLineIndex(int line)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
299public override int GetLineIndex(int line)
9 references to GetLineIndex
System.Windows.Forms.Primitives (9)
System\Windows\Forms\Automation\UiaTextRange.cs (9)
210int startIndex = _provider.GetLineIndex(startLine); 217endIndex = _provider.GetLineIndex(endLine); 733start = _provider.GetLineIndex(startLine); 741end = _provider.GetLineIndex(endLine + 1); // Index of the next line is the end caret position of the previous line. 754int lineStartIndex = lineIndex == startLine ? start : _provider.GetLineIndex(lineIndex); 766: _provider.GetLineIndex(lineIndex + 1) - 1; 980index = _provider.GetLineIndex(line + moved); 1108bool firstLineEmpty = (lineMax == 0 || (lineMax > 1 && _provider.GetLineIndex(1) == LineSeparator.Length)); 1121index = _provider.GetLineIndex(line + actualCount) - LineSeparator.Length;