1 override of SelectionLength
System.Windows.Forms (1)
winforms\Managed\System\WinForms\RichTextBox.cs (1)
1188public override int SelectionLength {
12 writes to SelectionLength
System.Windows.Forms (8)
winforms\Managed\System\WinForms\MaskedTextBox.cs (2)
2243this.SelectionLength = 0; 3126this.SelectionLength = 0;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
1014Edit.SelectionLength = 0; 4451Edit.SelectionLength = 0; 4789Edit.SelectionLength = 0;
winforms\Managed\System\WinForms\RichTextBox.cs (1)
1204base.SelectionLength = value;
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1910this.SelectionLength = 0;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
446set { TextBox.SelectionLength = value; }
System.Workflow.Activities (2)
Rules\Design\Dialogs\RuleConditionDialog.cs (1)
196this.conditionTextBox.SelectionLength = 0;
Rules\Design\Dialogs\RuleSetDialog.cs (1)
490textBox.SelectionLength = 0;
System.Workflow.ComponentModel (2)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
480textBox.SelectionLength = (textBox.Text != null) ? textBox.Text.Length : 0; 515this.themeLocationTextBox.SelectionLength = (this.themeLocationTextBox.Text != null) ? this.themeLocationTextBox.Text.Length : 0;
20 references to SelectionLength
System.Windows.Forms (18)
winforms\Managed\System\WinForms\DataGridTextBox.cs (6)
139if (SelectionStart + SelectionLength == Text.Length) 148if (SelectionStart + SelectionLength == 0 || 149(this.IsInEditOrNavigateMode && this.SelectionLength == Text.Length)) 157int end = SelectionStart + SelectionLength; 166if ( Text.IndexOf("\r\n") < 0 || SelectionStart + SelectionLength < Text.IndexOf("\r\n")) 171if (SelectionLength == Text.Length)
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (8)
162if ((this.RightToLeft == RightToLeft.No && !(this.SelectionLength == 0 && this.SelectionStart == this.Text.Length)) || 163(this.RightToLeft == RightToLeft.Yes && !(this.SelectionLength == 0 && this.SelectionStart == 0))) 173if ((this.RightToLeft == RightToLeft.No && !(this.SelectionLength == 0 && this.SelectionStart == 0)) || 174(this.RightToLeft == RightToLeft.Yes && !(this.SelectionLength == 0 && this.SelectionStart == this.Text.Length))) 183int end = this.SelectionStart + this.SelectionLength; 193if (!(this.Text.IndexOf("\r\n") < 0 || this.SelectionStart + this.SelectionLength < this.Text.IndexOf("\r\n"))) 201if (this.SelectionLength != this.Text.Length) 216if (this.SelectionLength > 0 ||
winforms\Managed\System\WinForms\RichTextBox.cs (1)
1192return base.SelectionLength;
winforms\Managed\System\WinForms\TextBox.cs (1)
637if (SelectionLength == 0 && Control.MouseButtons == MouseButtons.None) {
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1213Select(value, SelectionLength);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
445get { return TextBox.SelectionLength; }
System.Workflow.Activities (2)
Rules\Design\Dialogs\IntellisenseTextBox.cs (2)
89int selectionLength = this.SelectionLength; 146int selectionLength = this.SelectionLength;