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