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