39 writes to Value
System.Windows.Forms (10)
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (8)
184Value = Constrain(_currentValue); 211Value = Constrain(_currentValue); 403Value = newValue; 412Value = Constrain(_currentValue); 537Value = Constrain(Convert.ToDecimal(Convert.ToInt32(Text, 16))); 541Value = Constrain(decimal.Parse(Text, CultureInfo.CurrentCulture)); 595Value = DefaultValue; 692Value = 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)
232decimalPlacesUpDown.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)
141decimalPlacesUpDown.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))] 316throw 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. 628return !Value.Equals(DefaultValue);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
1184int pageNum = ((int)_pageCounter.Value) - 1;
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\FormatControl.CurrencyFormatType.cs (1)
35switch ((int)_owner.decimalPlacesUpDown.Value)
System\Windows\Forms\Design\FormatControl.NumericFormatType.cs (1)
35switch ((int)_owner.decimalPlacesUpDown.Value)
System\Windows\Forms\Design\FormatControl.ScientificFormatType.cs (1)
35switch ((int)_owner.decimalPlacesUpDown.Value)
System\Windows\Forms\Design\StyleEditorForm.cs (6)
926UpdateTypeAndValue(SizeType.Absolute, (float)_absoluteNumericUpDown.Value); 934UpdateTypeAndValue(SizeType.Percent, (float)_percentNumericUpDown.Value); 952UpdateTypeAndValue(SizeType.Absolute, (float)_absoluteNumericUpDown.Value); 957UpdateTypeAndValue(SizeType.Percent, (float)_percentNumericUpDown.Value); 1035UpdateTypeAndValue(SizeType.Absolute, (float)_absoluteNumericUpDown.Value); 1039UpdateTypeAndValue(SizeType.Percent, (float)_percentNumericUpDown.Value);