7 writes to MinDate
PresentationUI (2)
MS\Internal\Documents\RequestedSignatureDialog.cs (1)
34
_dateTimePicker.
MinDate
= DateTime.Now;
MS\Internal\Documents\RMPublishingDialog.cs (1)
54
datePickerValidUntil.
MinDate
= DateTime.Today.AddDays(1);
System.Windows.Forms (1)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1241
MinDate
= MinimumDateTime;
System.Windows.Forms.Tests (4)
System\Windows\Forms\DateTimePickerTests.cs (4)
405
_dateTimePicker.
MinDate
= expectedDate;
412
Action act = () => _dateTimePicker.
MinDate
= DateTimePicker.MaximumDateTime.AddDays(1);
415
act = () => _dateTimePicker.
MinDate
= DateTimePicker.MinimumDateTime.AddDays(-1);
424
_dateTimePicker.
MinDate
= newMinDate;
8 references to MinDate
System.Windows.Forms (4)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (4)
874
if ((value <
MinDate
) || (value > MaxDate))
883
$"'{nameof(
MinDate
)}'",
1237
/// Resets the <see cref="
MinDate
"/> property to its default value.
1409
/// Determines if the <see cref="
MinDate
"/> property needs to be persisted.
System.Windows.Forms.Tests (4)
System\Windows\Forms\DateTimePickerTests.cs (4)
93
Assert.Equal(new DateTime(1753, 1, 1), control.
MinDate
);
402
_dateTimePicker.
MinDate
.ToString().Should().Be("1/1/1753 12:00:00 AM");
406
_dateTimePicker.
MinDate
.Should().Be(expectedDate);
426
_dateTimePicker.
MinDate
.Should().Be(newMinDate);