11 references to HasValue
PresentationFramework (11)
src\Framework\System\Windows\Data\Binding.cs (6)
252
if (!
HasValue
(Feature.ValidationRules))
267
return (
HasValue
(Feature.ValidationRules) && ValidationRules.Count > 0);
785
if (!treeContextIsRequired &&
HasValue
(Feature.XPath) && XPath.IndexOf(':') >= 0)
830
(
HasValue
(Feature.RelativeSource)) ? SourceProperties.RelativeSource :
831
(
HasValue
(Feature.ElementSource)) ? SourceProperties.ElementName :
832
(
HasValue
(Feature.ObjectSource)) ? SourceProperties.Source :
src\Framework\System\Windows\Data\BindingBase.cs (3)
115
return
HasValue
(Feature.FallbackValue);
147
return
HasValue
(Feature.TargetNullValue);
540
internal void CopyValue(Feature id, BindingBase clone) { if (
HasValue
(id)) { clone.SetValue(id, GetValue(id, null)); } }
src\Framework\System\Windows\Data\MultiBinding.cs (2)
248
if (!
HasValue
(Feature.ValidationRules))
263
return (
HasValue
(Feature.ValidationRules) && ValidationRules.Count > 0);