Base:
property
Text
System.Windows.Forms.UpDownBase.Text
11 writes to Text
System.Windows.Forms (3)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (2)
72
Text
= "0";
743
Text
= GetNumberText(_currentValue);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
898
_pageCounter.
Text
= "1";
System.Windows.Forms.Tests (8)
NumericUpDownTests.cs (8)
436
upDown.
Text
= "1";
439
upDown.
Text
= "2";
458
upDown.
Text
= "1";
460
upDown.
Text
= "2";
658
using NumericUpDown upDown = new() { Value = 10, Increment = 1,
Text
= "Not a number" };
666
using NumericUpDown upDown = new() { Value = 10, Minimum = 0, Maximum = 20, Increment = 1,
Text
= "30" };
751
using NumericUpDown upDown = new() { Value = 10, Increment = 1,
Text
= "Not a number" };
759
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)
532
if (!string.IsNullOrEmpty(
Text
) &&
533
!(
Text
.Length == 1 &&
Text
== "-"))
537
Value = Constrain(Convert.ToDecimal(Convert.ToInt32(
Text
, 16)));
541
Value = Constrain(decimal.Parse(
Text
, CultureInfo.CurrentCulture));
733
if (_currentValueChanged || (!string.IsNullOrEmpty(
Text
) &&
734
!(
Text
.Length == 1 &&
Text
== "-")))
System.Windows.Forms.Tests (1)
NumericUpDownTests.cs (1)
19
Assert.Equal("0", nud.
Text
);