Base:
property
SelectionLength
System.Windows.Forms.TextBoxBase.SelectionLength
17 writes to SelectionLength
System.Windows.Forms.Tests (17)
System\Windows\Forms\RichTextBoxTests.cs (17)
5447SelectionLength = value 5455control.SelectionLength = value; 5476SelectionLength = value 5483control.SelectionLength = value; 5511control.SelectionLength = value; 5521control.SelectionLength = value; 5546control.SelectionLength = value; 5560Assert.Throws<ArgumentOutOfRangeException>("value", () => control.SelectionLength = -1); 5569control.SelectionLength = value; 5574control.SelectionLength = value; 5586Assert.Throws<ObjectDisposedException>(() => control.SelectionLength = value); 6064SelectionLength = 2, 6132SelectionLength = 1 6474SelectionLength = selectionLength 6519SelectionLength = selectionLength, 7173SelectionLength = selectionLength, 7458SelectionLength = 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)
5383Assert.Equal(0, control.SelectionLength); 5387Assert.Equal(0, control.SelectionLength); 5403Assert.Equal(0, control.SelectionLength); 5410Assert.Equal(0, control.SelectionLength); 5421Assert.Equal(0, control.SelectionLength); 5430Assert.Throws<ObjectDisposedException>(() => control.SelectionLength); 5450Assert.Equal(expected, control.SelectionLength); 5457Assert.Equal(expected, control.SelectionLength); 5478Assert.Equal(expected, control.SelectionLength); 5484Assert.Equal(expected, control.SelectionLength); 5513Assert.Equal(expected, control.SelectionLength); 5523Assert.Equal(expected, control.SelectionLength); 5570Assert.Equal(0, control.SelectionLength); 5575Assert.Equal(0, control.SelectionLength); 6038Assert.Equal(0, control.SelectionLength); 6045Assert.Equal(0, control.SelectionLength); 6102Assert.Equal(0, control.SelectionLength); 6112Assert.Equal(0, control.SelectionLength); 7065Assert.Equal(0, control.SelectionLength); 7078Assert.Equal(0, control.SelectionLength); 7180Assert.Equal(0, control.SelectionLength); 7191Assert.Equal(0, control.SelectionLength); 7212Assert.Equal(0, control.SelectionLength); 7223Assert.Equal(0, control.SelectionLength); 7252Assert.Equal(0, control.SelectionLength); 7266Assert.Equal(0, control.SelectionLength); 7298Assert.Equal(0, control.SelectionLength); 7314Assert.Equal(0, control.SelectionLength); 7407Assert.Equal(0, control.SelectionLength); 7420Assert.Equal(0, control.SelectionLength); 7472Assert.Equal(0, control.SelectionLength); 7486Assert.Equal(0, control.SelectionLength); 10193Assert.Equal(0, control.SelectionLength); 10427Assert.Equal(0, control.SelectionLength);