Base:
property
Text
System.Windows.Forms.UpDownBase.Text
11 writes to Text
System.Windows.Forms (3)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (2)
76
Text
= "0";
747
Text
= GetNumberText(_currentValue);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
898
_pageCounter.
Text
= "1";
System.Windows.Forms.Tests (8)
NumericUpDownTests.cs (8)
434
upDown.
Text
= "1";
437
upDown.
Text
= "2";
456
upDown.
Text
= "1";
458
upDown.
Text
= "2";
656
using NumericUpDown upDown = new() { Value = 10, Increment = 1,
Text
= "Not a number" };
664
using NumericUpDown upDown = new() { Value = 10, Minimum = 0, Maximum = 20, Increment = 1,
Text
= "30" };
749
using NumericUpDown upDown = new() { Value = 10, Increment = 1,
Text
= "Not a number" };
757
using NumericUpDown upDown = new() { Value = 10, Minimum = 0, Maximum = 20, Increment = 1,
Text
= "30" };
9 references to Text
System.Windows.Forms (8)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (8)
536
if (!string.IsNullOrEmpty(
Text
) &&
537
!(
Text
.Length == 1 &&
Text
== "-"))
541
Value = Constrain(Convert.ToDecimal(Convert.ToInt32(
Text
, 16)));
545
Value = Constrain(decimal.Parse(
Text
, CultureInfo.CurrentCulture));
737
if (_currentValueChanged || (!string.IsNullOrEmpty(
Text
) &&
738
!(
Text
.Length == 1 &&
Text
== "-")))
System.Windows.Forms.Tests (1)
NumericUpDownTests.cs (1)
17
Assert.Equal("0", nud.
Text
);