Base:
property
SelectionLength
System.Windows.Forms.TextBoxBase.SelectionLength
17 writes to SelectionLength
System.Windows.Forms.Tests (17)
System\Windows\Forms\RichTextBoxTests.cs (17)
5449SelectionLength = value 5457control.SelectionLength = value; 5478SelectionLength = value 5485control.SelectionLength = value; 5513control.SelectionLength = value; 5523control.SelectionLength = value; 5548control.SelectionLength = value; 5562Assert.Throws<ArgumentOutOfRangeException>("value", () => control.SelectionLength = -1); 5571control.SelectionLength = value; 5576control.SelectionLength = value; 5588Assert.Throws<ObjectDisposedException>(() => control.SelectionLength = value); 6066SelectionLength = 2, 6134SelectionLength = 1 6476SelectionLength = selectionLength 6521SelectionLength = selectionLength, 7175SelectionLength = selectionLength, 7460SelectionLength = selectionLength,
35 references to SelectionLength
System.Windows.Forms (1)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
1264if (SelectionLength > 0)
System.Windows.Forms.Tests (34)
System\Windows\Forms\RichTextBoxTests.cs (34)
5385Assert.Equal(0, control.SelectionLength); 5389Assert.Equal(0, control.SelectionLength); 5405Assert.Equal(0, control.SelectionLength); 5412Assert.Equal(0, control.SelectionLength); 5423Assert.Equal(0, control.SelectionLength); 5432Assert.Throws<ObjectDisposedException>(() => control.SelectionLength); 5452Assert.Equal(expected, control.SelectionLength); 5459Assert.Equal(expected, control.SelectionLength); 5480Assert.Equal(expected, control.SelectionLength); 5486Assert.Equal(expected, control.SelectionLength); 5515Assert.Equal(expected, control.SelectionLength); 5525Assert.Equal(expected, control.SelectionLength); 5572Assert.Equal(0, control.SelectionLength); 5577Assert.Equal(0, control.SelectionLength); 6040Assert.Equal(0, control.SelectionLength); 6047Assert.Equal(0, control.SelectionLength); 6104Assert.Equal(0, control.SelectionLength); 6114Assert.Equal(0, control.SelectionLength); 7067Assert.Equal(0, control.SelectionLength); 7080Assert.Equal(0, control.SelectionLength); 7182Assert.Equal(0, control.SelectionLength); 7193Assert.Equal(0, control.SelectionLength); 7214Assert.Equal(0, control.SelectionLength); 7225Assert.Equal(0, control.SelectionLength); 7254Assert.Equal(0, control.SelectionLength); 7268Assert.Equal(0, control.SelectionLength); 7300Assert.Equal(0, control.SelectionLength); 7316Assert.Equal(0, control.SelectionLength); 7409Assert.Equal(0, control.SelectionLength); 7422Assert.Equal(0, control.SelectionLength); 7474Assert.Equal(0, control.SelectionLength); 7488Assert.Equal(0, control.SelectionLength); 10195Assert.Equal(0, control.SelectionLength); 10429Assert.Equal(0, control.SelectionLength);