9 writes to CustomFormat
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (1)
355
dateTimePicker1.
CustomFormat
= "'Date&Time' hh:mm dd/MM";
System\Windows\Forms\DateTimePickerTests.cs (7)
340
_dateTimePicker.
CustomFormat
= newCustomFormat;
345
_dateTimePicker.
CustomFormat
= newCustomFormat2;
349
_dateTimePicker.
CustomFormat
= null;
958
dateTimePicker.
CustomFormat
= dateTimeFormat.LongDatePattern;
972
dateTimePicker.
CustomFormat
= dateTimeFormat.ShortDatePattern;
986
dateTimePicker.
CustomFormat
= dateTimeFormat.LongTimePattern;
1000
dateTimePicker.
CustomFormat
= dateTimeFormat.ShortTimePattern;
WinFormsControlsTest (1)
DateTimePicker.cs (1)
12
dateTimePicker5.
CustomFormat
= "yyyy-MM-dd HH:mm:ss";
8 references to CustomFormat
System.Windows.Forms.Tests (8)
System\Windows\Forms\DateTimePickerTests.cs (8)
59
Assert.Null(control.
CustomFormat
);
333
_dateTimePicker.
CustomFormat
.Should().BeNull();
341
_dateTimePicker.
CustomFormat
.Should().Be(newCustomFormat);
346
_dateTimePicker.
CustomFormat
.Should().Be(newCustomFormat2);
350
_dateTimePicker.
CustomFormat
.Should().BeNull();
920
Assert.Null(dateTimePicker.
CustomFormat
);
933
Assert.Null(dateTimePicker.
CustomFormat
);
946
Assert.Null(dateTimePicker.
CustomFormat
);