2 overrides of GetPositionFromCharIndex
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2261public override unsafe Point GetPositionFromCharIndex(int index)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1733public override Point GetPositionFromCharIndex(int index)
15 references to GetPositionFromCharIndex
System.Windows.Forms (7)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2265return base.GetPositionFromCharIndex(index);
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1740pos = base.GetPositionFromCharIndex(index);
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseUiaTextProvider.cs (4)
306? Owner.GetPositionFromCharIndex(charIndex) 327return Owner.GetPositionFromCharIndex(useNext ? startCharIndex + 1 : startCharIndex); 330pt = Owner.GetPositionFromCharIndex(startCharIndex); 342pt = Owner.GetPositionFromCharIndex(startCharIndex);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
446public Point GetPositionFromCharIndex(int index) { return TextBox.GetPositionFromCharIndex(index); }
System.Windows.Forms.Tests (8)
TextBoxBaseTests.cs (8)
4840Assert.Equal(Point.Empty, control.GetPositionFromCharIndex(index)); 4855Point pt = control.GetPositionFromCharIndex(index); 4871Assert.Equal(Point.Empty, control.GetPositionFromCharIndex(index)); 4890Assert.Equal(Point.Empty, control.GetPositionFromCharIndex(index)); 4916Point pt = control.GetPositionFromCharIndex(index); 4943Assert.Equal(Point.Empty, control.GetPositionFromCharIndex(index)); 4969Assert.Equal(expected, control.GetPositionFromCharIndex(1)); 7826Point actualPoint = textBoxBase.GetPositionFromCharIndex(charIndex);