19 writes to ValueType
PresentationFramework (19)
System\Windows\DataTrigger.cs (2)
169propertyValue.ValueType = PropertyValueType.DataTrigger; 172propertyValue.ValueType = PropertyValueType.DataTriggerResource;
System\Windows\FrameworkElementFactory.cs (2)
427propertyValue.ValueType = valueType; 437propertyValue.ValueType = valueType;
System\Windows\MultiDataTrigger.cs (2)
127propertyValue.ValueType = PropertyValueType.DataTrigger; 130propertyValue.ValueType = PropertyValueType.DataTriggerResource;
System\Windows\Style.cs (2)
452propertyValue.ValueType = valueType; 461propertyValue.ValueType = valueType;
System\Windows\TemplateContent.cs (10)
250pv.ValueType = PropertyValueType.Set; 265value.ValueType = PropertyValueType.TemplateBinding; 271value.ValueType = PropertyValueType.Resource; 1146propertyValue.ValueType = PropertyValueType.Set; 1247pv.ValueType = PropertyValueType.TemplateBinding; 1268pv.ValueType = PropertyValueType.TemplateBinding; 1284pv.ValueType = PropertyValueType.TemplateBinding; 1300pv.ValueType = PropertyValueType.TemplateBinding; 1340propertyValue.ValueType = PropertyValueType.TemplateBinding; 1359propertyValue.ValueType = PropertyValueType.TemplateBinding;
System\Windows\TriggerBase.cs (1)
211propertyValue.ValueType = valueType;
11 references to ValueType
PresentationFramework (11)
System\Windows\DataTrigger.cs (2)
166switch (propertyValue.ValueType) 175throw new InvalidOperationException(SR.Format(SR.UnexpectedValueTypeForDataTrigger, propertyValue.ValueType));
System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (1)
187switch (_propertyValue.ValueType)
System\Windows\MultiDataTrigger.cs (2)
124switch (propertyValue.ValueType) 133throw new InvalidOperationException(SR.Format(SR.UnexpectedValueTypeForDataTrigger, propertyValue.ValueType));
System\Windows\StyleHelper.cs (6)
525valueLookup.LookupType = (ValueLookupType)propertyValue.ValueType; // Maps directly to ValueLookupType for applicable values 539switch ((ValueLookupType)propertyValue.ValueType) 576if ((ValueLookupType)propertyValue.ValueType == ValueLookupType.PropertyTriggerResource) 583if ((ValueLookupType)propertyValue.ValueType != ValueLookupType.PropertyTriggerResource) 616if ((ValueLookupType)propertyValue.ValueType == ValueLookupType.DataTriggerResource) 623if ((ValueLookupType)propertyValue.ValueType != ValueLookupType.DataTriggerResource)