2 overrides of SelectedText
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1236public override string SelectedText
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1033public override string SelectedText
10 writes to SelectedText
System.Windows.Forms (2)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
1240SelectedText = text;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
312set { TextBox.SelectedText = value; }
System.Windows.Forms.Tests (8)
TextBoxBaseTests.cs (8)
2590SelectedText = value 2644SelectedText = value 2666SelectedText = value 2687SelectedText = value, 2718control.SelectedText = value; 2737control.SelectedText = value; 2742control.SelectedText = value; 2753Assert.Throws<ObjectDisposedException>(() => control.SelectedText = value);
66 references to SelectedText
System.Windows.Forms (2)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
1039return base.SelectedText;
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
311get { return TextBox.SelectedText; }
System.Windows.Forms.Tests (64)
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (7)
109Assert.Empty(control.SelectedText); 1459Assert.Equal("text", control.SelectedText); 1466Assert.Equal("text", control.SelectedText); 1473Assert.Empty(control.SelectedText); 1492Assert.Empty(control.SelectedText); 1499Assert.Empty(control.SelectedText); 1506Assert.Equal("text", control.SelectedText);
TextBoxBaseTests.cs (56)
2548Assert.Empty(control.SelectedText); 2555Assert.Empty(control.SelectedText); 2566Assert.Empty(control.SelectedText); 2575Assert.Empty(control.SelectedText); 2594Assert.Empty(control.SelectedText); 2648Assert.Empty(control.SelectedText); 2670Assert.Empty(control.SelectedText); 2692Assert.Empty(control.SelectedText); 2721Assert.Empty(control.SelectedText); 2738Assert.Empty(control.SelectedText); 2743Assert.Empty(control.SelectedText); 2816Assert.Equal(expectedSelectedText, control.SelectedText); 2823Assert.Equal(expectedSelectedText, control.SelectedText); 2844Assert.Equal(expectedSelectedText, control.SelectedText); 2850Assert.Equal(expectedSelectedText, control.SelectedText); 2879Assert.Equal(expectedSelectedText, control.SelectedText); 2889Assert.Equal(expectedSelectedText, control.SelectedText); 2992Assert.Empty(control.SelectedText); 2999Assert.Empty(control.SelectedText); 3020Assert.Equal(expectedSelectedText, control.SelectedText); 3026Assert.Equal(expectedSelectedText, control.SelectedText); 3056Assert.Empty(control.SelectedText); 3066Assert.Empty(control.SelectedText); 3224Assert.Empty(control.SelectedText); 3235Assert.Empty(control.SelectedText); 3278Assert.Equal(expectedSelectedText, control.SelectedText); 3289Assert.Equal(expectedSelectedText, control.SelectedText); 3308Assert.Empty(control.SelectedText); 3319Assert.Empty(control.SelectedText); 3343Assert.Empty(control.SelectedText); 3356Assert.Empty(control.SelectedText); 3387Assert.Empty(control.SelectedText); 3400Assert.Empty(control.SelectedText); 3452Assert.Empty(control.SelectedText); 3466Assert.Empty(control.SelectedText); 3867Assert.Empty(control.SelectedText); 3885Assert.Empty(control.SelectedText); 3905Assert.Equal(expectedSelectedText, control.SelectedText); 3926Assert.Equal(expectedSelectedText, control.SelectedText); 3948Assert.Equal(expectedSelectedText, control.SelectedText); 3971Assert.Empty(control.SelectedText); 4000Assert.Empty(control.SelectedText); 4217Assert.Empty(control.SelectedText); 4233Assert.Empty(control.SelectedText); 6234Assert.Equal(expectedSelectedText, control.SelectedText); 6241Assert.Equal(expectedSelectedText, control.SelectedText); 6264Assert.Equal(expectedSelectedText, control.SelectedText); 6274Assert.Equal(expectedSelectedText, control.SelectedText); 6324Assert.Empty(control.SelectedText); 6331Assert.Empty(control.SelectedText); 6345Assert.Equal("text", control.SelectedText); 6352Assert.Equal("text", control.SelectedText); 6371Assert.Empty(control.SelectedText); 6381Assert.Empty(control.SelectedText); 6406Assert.Equal("text", control.SelectedText); 6416Assert.Equal("text", control.SelectedText);
TextBoxTests.cs (1)
102Assert.Empty(control.SelectedText);