17 writes to SelectedItem
System.Windows.Forms.Tests (17)
System\Windows\Forms\DomainUpDownTests.cs (17)
438
_sub.
SelectedItem
= value;
447
_sub.
SelectedItem
= value;
466
_sub.
SelectedItem
= value;
475
_sub.
SelectedItem
= value;
484
_sub.
SelectedItem
= "NoSuchItem";
493
_sub.
SelectedItem
= null;
513
_sub.
SelectedItem
= value;
522
_sub.
SelectedItem
= value;
531
_sub.
SelectedItem
= "NoSuchItem";
540
_sub.
SelectedItem
= null;
574
_control.
SelectedItem
= "Item1";
580
_control.
SelectedItem
= "Item1";
586
_control.
SelectedItem
= "Item2";
592
_control.
SelectedItem
= null;
600
_control.
SelectedItem
= "Item1";
705
_sub.
SelectedItem
= "B";
843
_sub.
SelectedItem
= "B";
26 references to SelectedItem
System.Windows.Forms (2)
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (2)
18
[DefaultBindingProperty(nameof(
SelectedItem
))]
187
/// Occurs when the <see cref="
SelectedItem
"/> property has
System.Windows.Forms.Tests (24)
System\Windows\Forms\DomainUpDownTests.cs (24)
132
_sub.
SelectedItem
.Should().BeNull();
269
_sub.
SelectedItem
.Should().BeNull();
277
_sub.
SelectedItem
.Should().BeNull();
295
_sub.
SelectedItem
.Should().Be(expected);
304
_sub.
SelectedItem
.Should().Be(expected);
313
_sub.
SelectedItem
.Should().BeNull();
332
_sub.
SelectedItem
.Should().Be(expected);
341
_sub.
SelectedItem
.Should().Be(expected);
350
_sub.
SelectedItem
.Should().BeNull();
440
_sub.
SelectedItem
.Should().BeNull();
449
_sub.
SelectedItem
.Should().BeNull();
468
_sub.
SelectedItem
.Should().Be(expected);
477
_sub.
SelectedItem
.Should().Be(expected);
486
_sub.
SelectedItem
.Should().Be(expected);
495
_sub.
SelectedItem
.Should().BeNull();
515
_sub.
SelectedItem
.Should().Be(expected);
524
_sub.
SelectedItem
.Should().Be(expected);
533
_sub.
SelectedItem
.Should().Be(expected);
542
_sub.
SelectedItem
.Should().BeNull();
575
_control.
SelectedItem
.Should().Be("Item1");
581
_control.
SelectedItem
.Should().Be("Item1");
587
_control.
SelectedItem
.Should().Be("Item2");
593
_control.
SelectedItem
.Should().BeNull();
601
_control.
SelectedItem
.Should().Be("Item1");