2 overrides of Value
System.Web (1)
WebSysDefaultValueAttribute.cs (1)
30public override object Value {
System.Web.Extensions (1)
UI\ResourceDefaultValueAttribute.cs (1)
32public override object Value {
40 references to Value
System (8)
compmod\system\componentmodel\DefaultValueAttribute.cs (4)
160if (Value != null) { 161return Value.Equals(other.Value); 164return (other.Value == null);
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (2)
185defaultValue = dva.Value; 321defaultValue = ((DefaultValueAttribute)a).Value;
compmod\system\componentmodel\TypeConverter.cs (2)
513return (attr.Value.Equals(GetValue(component))); 523SetValue(component, attr.Value);
System.Activities.Presentation (3)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DefaultValueAttributeInfo.cs (1)
23return new List<object>() { attribute.Value };
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
833_defaultValue = dva.Value;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (1)
88this.defaultValue = (defaultValueAttribute == null) ? null : defaultValueAttribute.Value;
System.Configuration (1)
System\Configuration\ConfigurationProperty.cs (1)
239defaultValue = attribStdDefault.Value;
System.Data (3)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DefaultValueAttributeInfo.cs (1)
23return new List<object>() { attribute.Value };
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
833_defaultValue = dva.Value;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (1)
88this.defaultValue = (defaultValueAttribute == null) ? null : defaultValueAttribute.Value;
System.Web (4)
ModelBinding\MutableObjectModelBinder.cs (1)
127return (attr != null) ? attr.Value : null;
UI\SkinBuilder.cs (1)
137if (defValAttr != null && !object.Equals(defValAttr.Value, currentValue)) {
WebSysDefaultValueAttribute.cs (2)
34string baseValue = (string)base.Value; 48return base.Value;
System.Web.DataVisualization (6)
Common\Utilities\XmlSerializer.cs (6)
460 if(defValueAttribute.Value != null) 462 pd.SetValue(objectToReset, defValueAttribute.Value); 465 else if(! objectProperty.Equals(defValueAttribute.Value)) 467 pd.SetValue(objectToReset, defValueAttribute.Value); 1710 if(objectToSerialize.Equals(defValueAttribute.Value)) 2606 if(objectToSerialize.Equals(defValueAttribute.Value))
System.Web.DynamicData (1)
DynamicData\MetaColumn.cs (1)
586return DefaultValueAttribute.GetPropertyValue(a => a.Value, null);
System.Web.Extensions (2)
UI\ResourceDefaultValueAttribute.cs (2)
36string baseValue = (string)base.Value; 50return base.Value;
System.Web.Mobile (1)
UI\MobileControls\Design\MobileControlPersister.cs (1)
543if ((defValAttr != null) && (obj.Equals(defValAttr.Value)))
System.Windows.Forms.DataVisualization (6)
Common\Utilities\XmlSerializer.cs (6)
460 if(defValueAttribute.Value != null) 462 pd.SetValue(objectToReset, defValueAttribute.Value); 465 else if(! objectProperty.Equals(defValueAttribute.Value)) 467 pd.SetValue(objectToReset, defValueAttribute.Value); 1710 if(objectToSerialize.Equals(defValueAttribute.Value)) 2606 if(objectToSerialize.Equals(defValueAttribute.Value))
System.Workflow.ComponentModel (3)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
867if (defaultValueAttr.Value == null) 1161if (defaultValueAttr.Value is IConvertible && value is IConvertible && object.Equals(Convert.ChangeType(defaultValueAttr.Value, property.PropertyType, CultureInfo.InvariantCulture), Convert.ChangeType(value, property.PropertyType, CultureInfo.InvariantCulture)))
System.Xml (2)
System\Xml\Serialization\SoapAttributes.cs (1)
64this.soapDefaultValue = ((DefaultValueAttribute)attrs[i]).Value;
System\Xml\Serialization\XmlAttributes.cs (1)
120this.xmlDefaultValue = ((DefaultValueAttribute)attrs[i]).Value;