76 references to PropertyType
PresentationCore (14)
Core\CSharp\System\Windows\Generated\ContentElement.cs (2)
93throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock"); 164throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation");
Core\CSharp\System\Windows\Generated\UIElement.cs (2)
93throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock"); 164throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation");
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (4)
1012if (DependencyProperty.IsValidType(currentPropertyValue, dp.PropertyType)) 1037if (dp.PropertyType != typeof(Visual3DCollection) && dp.ReadOnly) 1057return dp.PropertyType.IsAssignableFrom(animation.TargetPropertyType) 1111newStorage = CreateIndependentAnimationStorageForType(dp.PropertyType);
Core\CSharp\System\Windows\Media\Animation\Generated\Animatable.cs (2)
100throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock"); 171throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation");
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (2)
359Type t = DetermineShaderConstantType(dp.PropertyType, PixelShader); 363throw new InvalidOperationException(SR.Get(SRID.Effect_ShaderConstantType, dp.PropertyType.Name));
Core\CSharp\System\Windows\Media3D\Generated\Visual3D.cs (2)
100throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, clock.Timeline.GetType(), dp.Name, dp.PropertyType), "clock"); 171throw new ArgumentException(SR.Get(SRID.Animation_AnimationTimelineTypeMismatch, animation.GetType(), dp.Name, dp.PropertyType), "animation");
PresentationFramework (49)
src\Framework\MS\Internal\Data\BindingWorker.cs (1)
54internal Type TargetPropertyType { get { return TargetProperty.PropertyType; } }
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (1)
69Type targetType = targetDP.PropertyType;
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1143sourceType = dp.PropertyType;
src\Framework\MS\Internal\Ink\StrokeCollectionDefaultValueFactory.cs (1)
45Debug.Assert(property.PropertyType == typeof(StrokeCollection),
src\Framework\MS\Internal\TraceData.cs (1)
237traceBuilder.AppendFormat("target property is '{0}' (type '{1}')", targetProperty.Name, targetProperty.PropertyType.Name);
src\Framework\System\Windows\Data\BindingExpression.cs (2)
445TargetProperty.PropertyType, IsReflective); 453TargetProperty.PropertyType,
src\Framework\System\Windows\Data\BindingExpressionBase.cs (7)
2097if (targetDP.PropertyType == typeof(System.Collections.IEnumerable)) 2140dp.PropertyType.Name), 2166dp.PropertyType.Name), 2188TypeConverter converter = DefaultValueConverter.GetConverter(dp.PropertyType); 2572Type targetType = TargetProperty.PropertyType; 2593Type targetType = TargetProperty.PropertyType; 2671Type targetType = TargetProperty.PropertyType;
src\Framework\System\Windows\Data\BindingGroup.cs (1)
582if (property != null && property.PropertyType != typeof(BindingGroup) &&
src\Framework\System\Windows\Data\MultiBindingExpression.cs (2)
640_tempTypes[i] = TargetProperty.PropertyType; 1184preFormattedValue = Converter.Convert(_tempValues, TargetProperty.PropertyType, ParentMultiBinding.ConverterParameter, culture);
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (2)
68else if (typeof(CultureInfo).IsAssignableFrom(property.PropertyType)) //NumberSubstitution.CultureOverrideProperty 77System.ComponentModel.TypeConverter typeConverter = System.ComponentModel.TypeDescriptor.GetConverter(property.PropertyType);
src\Framework\System\Windows\Documents\TextRange.cs (4)
792if ((value is string) && formattingProperty.PropertyType != typeof(string)) 794System.ComponentModel.TypeConverter typeConverter = System.ComponentModel.TypeDescriptor.GetConverter(formattingProperty.PropertyType); 801!(formattingProperty.PropertyType == typeof(Thickness) && (value is Thickness))) 1661if (formattingProperty.PropertyType == typeof(Thickness) &&
src\Framework\System\Windows\Documents\TextRangeEdit.cs (1)
863if (property.PropertyType == typeof(Thickness))
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (5)
749stringValue = FilterNaNStringValueForDoublePropertyType(stringValue, property.PropertyType); 814stringValue = FilterNaNStringValueForDoublePropertyType(stringValue, property.PropertyType); 945stringValue = FilterNaNStringValueForDoublePropertyType(stringValue, property.PropertyType); 991stringValue = FilterNaNStringValueForDoublePropertyType(stringValue, locallySetProperty.PropertyType); 1156System.ComponentModel.TypeConverter typeConverter = System.ComponentModel.TypeDescriptor.GetConverter(property.PropertyType);
src\Framework\System\Windows\Documents\TextSchema.cs (1)
761Type propertyType = property.PropertyType;
src\Framework\System\Windows\Markup\Baml2006\WpfKnownMember.cs (1)
193return System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(DependencyProperty.PropertyType);
src\Framework\System\Windows\Markup\Baml2006\WpfXamlMember.cs (2)
154return System.Windows.Markup.XamlReader.BamlSharedSchemaContext.GetXamlType(DependencyProperty.PropertyType); 158return System.Windows.Markup.XamlReader.GetWpfSchemaContext().GetXamlType(DependencyProperty.PropertyType);
src\Framework\System\Windows\Markup\BamlReader.cs (2)
1076if (!_propertyDP.PropertyType.IsEnum) 1085propertyType = _propertyDP.PropertyType;
src\Framework\System\Windows\Markup\BamlRecordReader.cs (4)
2052if (typeof(IXmlSerializable).IsAssignableFrom(dp.PropertyType)) 3560attribInfo.DP.PropertyType, 3720propertyType = dp.PropertyType; 5906return this.DependencyProperty.PropertyType;
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
4930validType = dp.PropertyType;
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
390propNode.ValuePropertyType = _dpProperty.PropertyType;
src\Framework\System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (1)
188get { return _propertyValue.Property.PropertyType; }
src\Framework\System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
150typeConverter = schemaContext.GetXamlType(property.PropertyType).TypeConverter;
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
2136propertyType = dp.PropertyType;
src\Framework\System\Windows\Media\Animation\Storyboard.cs (1)
797throw new InvalidOperationException(SR.Get(SRID.Storyboard_AnimationMismatch, animationClock.Timeline.GetType(), targetProperty.Name, targetProperty.PropertyType));
src\Framework\System\Windows\StyleHelper.cs (1)
2768targetProperty.PropertyType,
src\Framework\System\Windows\TemplateContent.cs (3)
1096if (typeof(IList).IsAssignableFrom(property.PropertyType)) 1100if (property.PropertyType.IsArray) 1104if (typeof(IDictionary).IsAssignableFrom(property.PropertyType))
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowSwitchLink.cs (1)
341ConverterParameter = this.CaseProperty.PropertyType,
WindowsBase (12)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (3)
306get { return _dp.PropertyType; } 473Type propertyReflectionType = TypeDescriptor.GetReflectionType(_dp.PropertyType); 579TypeDescriptor.GetReflectionType(dp.PropertyType)
Base\MS\Internal\ComponentModel\DependencyPropertyKind.cs (2)
75_dp.OwnerType.GetProperty(_dp.Name, _dp.PropertyType) == null) 146if (_targetType.GetProperty(_dp.Name, _dp.PropertyType) != null)
Base\System\ComponentModel\DependencyPropertyDescriptor.cs (2)
453public override Type PropertyType { get { return _dp.PropertyType; } } 594_property = TypeDescriptor.CreateProperty(_componentType, Name, _dp.PropertyType);
Base\System\Windows\DeferredReference.cs (1)
69return _sourceProperty.PropertyType;
Base\System\Windows\DependencyProperty.cs (4)
389ValidateDefaultValueCommon(defaultValue, PropertyType, Name, ValidateValueCallback, false); 494ValidateMetadataDefaultValue( typeMetadata, PropertyType, Name, ValidateValueCallback ); 917return IsValidType(value, PropertyType); 929if (!IsValidType(value, PropertyType))