1 write to DefaultValue
System.Workflow.ComponentModel (1)
AuthoringOM\DependencyProperty.cs (1)
211
metadata.
DefaultValue
= GetDefaultValue(name, propertyType, ownerType);
7 references to DefaultValue
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (4)
75
if (dependencyProperty.DefaultMetadata.
DefaultValue
!= null)
82
else if (!dependencyProperty.PropertyType.IsAssignableFrom(dependencyProperty.DefaultMetadata.
DefaultValue
.GetType()))
84
errors.Add(new ValidationError(SR.GetString(SR.Error_PropertyDefaultTypeMismatch, dependencyProperty.Name, dependencyProperty.PropertyType.FullName, dependencyProperty.DefaultMetadata.
DefaultValue
.GetType().FullName), ErrorNumbers.Error_PropertyDefaultTypeMismatch));
95
if (propValue == null || propValue == dependencyProperty.DefaultMetadata.
DefaultValue
)
AuthoringOM\DependencyObject.cs (2)
178
return dependencyProperty.DefaultMetadata.
DefaultValue
;
186
return dependencyProperty.DefaultMetadata.
DefaultValue
;
AuthoringOM\DependencyProperty.cs (1)
210
if (metadata.
DefaultValue
== null)