1 write to ValueType
System.Windows.Forms.DataVisualization (1)
Common\Utilities\CustomAttributesRegistry.cs (1)
1964
this.
ValueType
= valueType;
13 references to ValueType
System.Windows.Forms.DataVisualization (13)
Common\Converters\CustomAttributesConverters.cs (13)
207
attrInfo.
ValueType
,
394
if (attrInfo.DefaultValue.GetType() == attrInfo.
ValueType
)
400
defaultValueAttribute = new DefaultValueAttribute(attrInfo.
ValueType
, (string)attrInfo.DefaultValue);
638
if(this._customAttributeInfo.
ValueType
== obj.GetType() )
646
if(this._customAttributeInfo.
ValueType
== typeof(string) )
650
else if(this._customAttributeInfo.
ValueType
== typeof(float) )
654
else if(this._customAttributeInfo.
ValueType
== typeof(double) )
658
else if(this._customAttributeInfo.
ValueType
== typeof(int) )
662
else if(this._customAttributeInfo.
ValueType
== typeof(bool) )
666
else if(this._customAttributeInfo.
ValueType
== typeof(Color) )
671
else if(this._customAttributeInfo.
ValueType
.IsEnum)
673
result = Enum.Parse(this._customAttributeInfo.
ValueType
, stringValue, true);
677
throw (new InvalidOperationException(SR.ExceptionCustomAttributeTypeUnsupported( this._customAttributeInfo.
ValueType
.ToString() )));