3 overrides of GetLineFromCharIndex
System.Windows.Forms (3)
System\Windows\Forms\Accessibility\LabelEditUiaTextProvider.cs (1)
99
public override int
GetLineFromCharIndex
(int charIndex) => OwnerChildEditLineIndex;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (1)
145
public override int
GetLineFromCharIndex
(int charIndex)
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (1)
294
public override int
GetLineFromCharIndex
(int charIndex)
8 references to GetLineFromCharIndex
System.Windows.Forms.Primitives (8)
System\Windows\Forms\Automation\UiaTextRange.cs (8)
209
int startLine = _provider.
GetLineFromCharIndex
(Start);
212
int endLine = _provider.
GetLineFromCharIndex
(End);
596
? _provider.
GetLineFromCharIndex
(Start)
597
: Math.Max(0, _provider.
GetLineFromCharIndex
(End) - _provider.LinesPerPage + 1);
725
int startLine = _provider.
GetLineFromCharIndex
(start);
726
int endLine = _provider.
GetLineFromCharIndex
(end - 1);
970
int line = _provider.
GetLineFromCharIndex
(index);
1081
int line = _provider.
GetLineFromCharIndex
(index) + 1;