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