20 references to IsValidValue
PresentationFramework (15)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (1)
395
return TargetProperty.
IsValidValue
(value);
src\Framework\System\Windows\Condition.cs (2)
54
if( !conditionProperty.
IsValidValue
( conditionValue ) )
204
if (!_property.
IsValidValue
(_value))
src\Framework\System\Windows\Data\BindingExpression.cs (2)
1072
if (IsReflective && TargetProperty.
IsValidValue
(entry.RawValue))
1432
value != DependencyProperty.UnsetValue && !TargetProperty.
IsValidValue
(value))
src\Framework\System\Windows\Data\BindingExpressionBase.cs (2)
2179
if (value == DependencyProperty.UnsetValue || dp.
IsValidValue
(value))
2202
success = dp.
IsValidValue
(result);
src\Framework\System\Windows\Data\MultiBindingExpression.cs (1)
1296
if (value != DependencyProperty.UnsetValue && !TargetProperty.
IsValidValue
(value))
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (1)
36
Invariant.Assert(property.
IsValidValue
(propertyValue), "propertyValue must be of suitable type for the given dependency property");
src\Framework\System\Windows\Documents\TextRange.cs (1)
800
if (!formattingProperty.
IsValidValue
(value) &&
src\Framework\System\Windows\FrameworkElementFactory.cs (1)
225
if (!dp.
IsValidValue
(value) && !(value is MarkupExtension) && !(value is DeferredReference))
src\Framework\System\Windows\FrameworkTemplate.cs (1)
849
if (!dependencyProperty.
IsValidValue
(value))
src\Framework\System\Windows\Setter.cs (1)
118
if (!dp.
IsValidValue
(value))
src\Framework\System\Windows\StyleHelper.cs (1)
2774
if ((value != DependencyProperty.UnsetValue) && !dp.
IsValidValue
(value))
src\Framework\System\Windows\Trigger.cs (1)
203
if (!_property.
IsValidValue
(_value))
WindowsBase (5)
Base\System\Windows\DependencyObject.cs (5)
334
if (!dp.
IsValidValue
(value))
387
if (!dp.
IsValidValue
(value))
681
bool isValidValue = isInternal ? dp.IsValidValueInternal(value) : dp.
IsValidValue
(value);
1734
if (!dp.
IsValidValue
(coercedValue))
1812
if (!isDeferredReference && !dp.
IsValidValue
(value))