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