18 writes to SelectionStart
System.Windows.Forms (10)
winforms\Managed\System\WinForms\DataGridTextBox.cs (1)
217SelectionStart = Text.Length;
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
250this.SelectionStart = this.Text.Length;
winforms\Managed\System\WinForms\MaskedTextBox.cs (4)
1345this.SelectionStart = ++this.caretTestPos; 2222this.SelectionStart = ++this.caretTestPos; // caretTestPos is updated in PlaceChar. 2928this.SelectionStart = this.caretTestPos; 3123this.SelectionStart = this.caretTestPos;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
1013Edit.SelectionStart = 0; 4450Edit.SelectionStart = 0; 4788Edit.SelectionStart = 0;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
457set { TextBox.SelectionStart = value; }
System.Workflow.Activities (4)
Rules\Design\Dialogs\IntellisenseTextBox.cs (2)
257this.SelectionStart = this.oldSelectionStart; 328this.SelectionStart = prefix.Length + fill.Length;
Rules\Design\Dialogs\RuleConditionDialog.cs (1)
195this.conditionTextBox.SelectionStart = ((RuleSyntaxException)syntaxException).Position;
Rules\Design\Dialogs\RuleSetDialog.cs (1)
489textBox.SelectionStart = position;
System.Workflow.ComponentModel (4)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
479textBox.SelectionStart = 0; 514this.themeLocationTextBox.SelectionStart = 0;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
534this.typeTextBox.SelectionStart = this.typeTextBox.Text.Length; 1260this.SelectionStart = 0;
19 references to SelectionStart
System.Windows.Forms (13)
winforms\Managed\System\WinForms\DataGridTextBox.cs (4)
139if (SelectionStart + SelectionLength == Text.Length) 148if (SelectionStart + SelectionLength == 0 || 157int end = SelectionStart + SelectionLength; 166if ( Text.IndexOf("\r\n") < 0 || SelectionStart + SelectionLength < Text.IndexOf("\r\n"))
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (7)
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"))) 217this.SelectionStart < this.Text.Length)
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
2916this.caretTestPos = this.SelectionStart;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
456get { return TextBox.SelectionStart; }
System.Workflow.Activities (6)
Rules\Design\Dialogs\IntellisenseTextBox.cs (6)
88int selectionStart = this.SelectionStart; 145int selectionStart = this.SelectionStart; 244this.oldSelectionStart = this.SelectionStart; 316int selectionStart = this.SelectionStart; 330this.oldSelectionStart = this.SelectionStart; 595string textTillCaret = this.Text.Substring(0, this.SelectionStart);