31 writes to MaxValue
System.Windows.Forms.DataVisualization (31)
Common\Utilities\CustomAttributesRegistry.cs (31)
633
attrInfo.
MaxValue
= 2f;
646
attrInfo.
MaxValue
= CustomPropertyRegistry.MaxValueOfPixelAttribute;
659
attrInfo.
MaxValue
= CustomPropertyRegistry.MaxValueOfPixelAttribute;
672
attrInfo.
MaxValue
= CustomPropertyRegistry.MaxValueOfPixelAttribute;
786
attrInfo.
MaxValue
= 100f;
799
attrInfo.
MaxValue
= 100f;
847
attrInfo.
MaxValue
= double.MaxValue;
927
attrInfo.
MaxValue
= 360;
954
attrInfo.
MaxValue
= 100f;
968
attrInfo.
MaxValue
= 100f;
993
attrInfo.
MaxValue
= 70f;
1007
attrInfo.
MaxValue
= 200f;
1035
attrInfo.
MaxValue
= 99f;
1104
attrInfo.
MaxValue
= 2f;
1148
attrInfo.
MaxValue
= CustomPropertyRegistry.MaxValueOfPixelAttribute;
1162
attrInfo.
MaxValue
= CustomPropertyRegistry.MaxValueOfPixelAttribute;
1288
attrInfo.
MaxValue
= 1000f;
1301
attrInfo.
MaxValue
= 1000f;
1414
attrInfo.
MaxValue
= 20;
1427
attrInfo.
MaxValue
= 20;
1489
attrInfo.
MaxValue
= 20;
1529
attrInfo.
MaxValue
= 20;
1569
attrInfo.
MaxValue
= 20;
1624
attrInfo.
MaxValue
= 100f;
1637
attrInfo.
MaxValue
= 100f;
1650
attrInfo.
MaxValue
= 100f;
1664
attrInfo.
MaxValue
= 10f;
1677
attrInfo.
MaxValue
= 100f;
1764
attrInfo.
MaxValue
= 100f;
1778
attrInfo.
MaxValue
= 10f;
1791
attrInfo.
MaxValue
= 100f;
9 references to MaxValue
System.Windows.Forms.DataVisualization (9)
Common\Converters\CustomAttributesConverters.cs (9)
735
if(this._customAttributeInfo.
MaxValue
!= null)
737
if(value.GetType() != this._customAttributeInfo.
MaxValue
.GetType())
744
if((float)value > (float)this._customAttributeInfo.
MaxValue
)
751
if((double)value > (double)this._customAttributeInfo.
MaxValue
)
758
if((int)value > (int)this._customAttributeInfo.
MaxValue
)
808
if(this._customAttributeInfo.
MaxValue
!= null && this._customAttributeInfo.MinValue != null)
810
throw(new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange(attrName, this._customAttributeInfo.MinValue.ToString(),this._customAttributeInfo.
MaxValue
.ToString() )));
816
else if(this._customAttributeInfo.
MaxValue
!= null)
818
throw(new InvalidOperationException(SR.ExceptionCustomAttributeMustBeMoreThenValue(attrName, this._customAttributeInfo.
MaxValue
.ToString())));