39 writes to Value
System.Windows.Forms (10)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (8)
184
Value
= Constrain(_currentValue);
211
Value
= Constrain(_currentValue);
403
Value
= newValue;
412
Value
= Constrain(_currentValue);
537
Value
= Constrain(Convert.ToDecimal(Convert.ToInt32(Text, 16)));
541
Value
= Constrain(decimal.Parse(Text, CultureInfo.CurrentCulture));
595
Value
= DefaultValue;
692
Value
= newValue;
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
1066
_pageCounter.
Value
= _previewControl.StartPage + 1;
1195
_pageCounter.
Value
= _previewControl.StartPage + 1;
System.Windows.Forms.Design (29)
System\Windows\Forms\Design\FormatControl.cs (1)
232
decimalPlacesUpDown.
Value
= 2;
System\Windows\Forms\Design\FormatControl.CurrencyFormatType.cs (7)
78
_owner.decimalPlacesUpDown.
Value
= 0;
82
_owner.decimalPlacesUpDown.
Value
= 1;
86
_owner.decimalPlacesUpDown.
Value
= 2;
90
_owner.decimalPlacesUpDown.
Value
= 3;
94
_owner.decimalPlacesUpDown.
Value
= 4;
98
_owner.decimalPlacesUpDown.
Value
= 5;
102
_owner.decimalPlacesUpDown.
Value
= 6;
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
141
decimalPlacesUpDown.
Value
= new decimal(new int[] {
System\Windows\Forms\Design\FormatControl.NumericFormatType.cs (7)
77
_owner.decimalPlacesUpDown.
Value
= 0;
81
_owner.decimalPlacesUpDown.
Value
= 1;
85
_owner.decimalPlacesUpDown.
Value
= 2;
89
_owner.decimalPlacesUpDown.
Value
= 3;
93
_owner.decimalPlacesUpDown.
Value
= 4;
97
_owner.decimalPlacesUpDown.
Value
= 5;
101
_owner.decimalPlacesUpDown.
Value
= 6;
System\Windows\Forms\Design\FormatControl.ScientificFormatType.cs (7)
78
_owner.decimalPlacesUpDown.
Value
= 0;
82
_owner.decimalPlacesUpDown.
Value
= 1;
86
_owner.decimalPlacesUpDown.
Value
= 2;
90
_owner.decimalPlacesUpDown.
Value
= 3;
94
_owner.decimalPlacesUpDown.
Value
= 4;
98
_owner.decimalPlacesUpDown.
Value
= 5;
102
_owner.decimalPlacesUpDown.
Value
= 6;
System\Windows\Forms\Design\StyleEditorForm.cs (6)
740
_absoluteNumericUpDown.
Value
= DesignerUtils.s_minimumStyleSize;
751
_percentNumericUpDown.
Value
= DesignerUtils.s_minimumStylePercent;
764
_absoluteNumericUpDown.
Value
= (decimal)value;
769
_absoluteNumericUpDown.
Value
= DesignerUtils.s_minimumStyleSize;
779
_percentNumericUpDown.
Value
= (decimal)value;
784
_percentNumericUpDown.
Value
= DesignerUtils.s_minimumStylePercent;
16 references to Value
System.Windows.Forms (7)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (6)
13
[DefaultProperty(nameof(
Value
))]
15
[DefaultBindingProperty(nameof(
Value
))]
316
throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(
Value
), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));
331
/// Occurs when the <see cref="
Value
"/> property has been changed in some way.
624
/// Indicates whether the <see cref="
Value
"/> property should be persisted.
628
return !
Value
.Equals(DefaultValue);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1184
int pageNum = ((int)_pageCounter.
Value
) - 1;
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\FormatControl.CurrencyFormatType.cs (1)
35
switch ((int)_owner.decimalPlacesUpDown.
Value
)
System\Windows\Forms\Design\FormatControl.NumericFormatType.cs (1)
35
switch ((int)_owner.decimalPlacesUpDown.
Value
)
System\Windows\Forms\Design\FormatControl.ScientificFormatType.cs (1)
35
switch ((int)_owner.decimalPlacesUpDown.
Value
)
System\Windows\Forms\Design\StyleEditorForm.cs (6)
926
UpdateTypeAndValue(SizeType.Absolute, (float)_absoluteNumericUpDown.
Value
);
934
UpdateTypeAndValue(SizeType.Percent, (float)_percentNumericUpDown.
Value
);
952
UpdateTypeAndValue(SizeType.Absolute, (float)_absoluteNumericUpDown.
Value
);
957
UpdateTypeAndValue(SizeType.Percent, (float)_percentNumericUpDown.
Value
);
1035
UpdateTypeAndValue(SizeType.Absolute, (float)_absoluteNumericUpDown.
Value
);
1039
UpdateTypeAndValue(SizeType.Percent, (float)_percentNumericUpDown.
Value
);