1 override of SelectionLength
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1048
public override int
SelectionLength
10 writes to SelectionLength
System.Windows.Forms (9)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (3)
870
EditTextBox.
SelectionLength
= 0;
4387
EditTextBox.
SelectionLength
= 0;
4717
EditTextBox.
SelectionLength
= 0;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1064
set => base.
SelectionLength
= value;
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (2)
2009
SelectionLength
= 0;
2840
SelectionLength
= 0;
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
217
SelectionLength
= length;
1702
SelectionLength
= 0;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
322
set { TextBox.
SelectionLength
= value; }
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (1)
146
_sampleEdit.
SelectionLength
= linkArea.Length;
14 references to SelectionLength
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (8)
129
if ((RightToLeft == RightToLeft.No && !(
SelectionLength
== 0 && SelectionStart == Text.Length)) ||
130
(RightToLeft == RightToLeft.Yes && !(
SelectionLength
== 0 && SelectionStart == 0)))
141
if ((RightToLeft == RightToLeft.No && !(
SelectionLength
== 0 && SelectionStart == 0)) ||
142
(RightToLeft == RightToLeft.Yes && !(
SelectionLength
== 0 && SelectionStart == Text.Length)))
152
int end = SelectionStart +
SelectionLength
;
164
|| SelectionStart +
SelectionLength
< Text.IndexOf("\r\n", StringComparison.Ordinal)))
173
if (
SelectionLength
!= Text.Length)
190
if (
SelectionLength
> 0 ||
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1054
return base.
SelectionLength
;
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
573
if (
SelectionLength
== 0 && MouseButtons == MouseButtons.None)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
207
if (
SelectionLength
!= 0)
1067
Select(value,
SelectionLength
);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
321
get { return TextBox.
SelectionLength
; }
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (1)
120
Value = new LinkArea(_sampleEdit.SelectionStart, _sampleEdit.
SelectionLength
);