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