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