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