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