11 references to HasValue
PresentationFramework (11)
System\Windows\Data\Binding.cs (6)
247
if (!
HasValue
(Feature.ValidationRules))
261
return (
HasValue
(Feature.ValidationRules) && ValidationRules.Count > 0);
780
if (!treeContextIsRequired &&
HasValue
(Feature.XPath) && XPath.Contains(':'))
825
(
HasValue
(Feature.RelativeSource)) ? SourceProperties.RelativeSource :
826
(
HasValue
(Feature.ElementSource)) ? SourceProperties.ElementName :
827
(
HasValue
(Feature.ObjectSource)) ? SourceProperties.Source :
System\Windows\Data\BindingBase.cs (3)
112
return
HasValue
(Feature.FallbackValue);
144
return
HasValue
(Feature.TargetNullValue);
537
internal void CopyValue(Feature id, BindingBase clone) { if (
HasValue
(id)) { clone.SetValue(id, GetValue(id, null)); } }
System\Windows\Data\MultiBinding.cs (2)
244
if (!
HasValue
(Feature.ValidationRules))
258
return (
HasValue
(Feature.ValidationRules) && ValidationRules.Count > 0);