4 references to GetPositionFromCharIndex
System.Windows.Forms.Tests (4)
System\Windows\Forms\ToolStripTextBoxTests.cs (4)
778
_toolStripTextBox.
GetPositionFromCharIndex
(0).Should().Be(new Point(1, 0));
779
_toolStripTextBox.
GetPositionFromCharIndex
(5).Should().Be(new Point(29, 0));
780
_toolStripTextBox.
GetPositionFromCharIndex
(10).Should().Be(new Point(57, 0));
789
Point position = _toolStripTextBox.
GetPositionFromCharIndex
(_toolStripTextBox.SelectionStart);