19 references to HasNonDefaultValue
PresentationFramework (19)
System\Windows\Controls\ContentControl.cs (1)
130if (ContentIsItem || !HasNonDefaultValue(ContentProperty))
System\Windows\Controls\ContentPresenter.cs (1)
595if (_contentIsItem || !HasNonDefaultValue(ContentProperty))
System\Windows\Controls\GroupItem.cs (4)
197if (ContentIsItem || !HasNonDefaultValue(ContentProperty)) 202if (!HasNonDefaultValue(ContentTemplateProperty)) 204if (!HasNonDefaultValue(ContentTemplateSelectorProperty)) 206if (!HasNonDefaultValue(ContentStringFormatProperty))
System\Windows\Controls\HeaderedContentControl.cs (2)
331if (ContentIsItem || !HasNonDefaultValue(ContentProperty)) 338if (!(item is Visual) && (HeaderIsItem || !HasNonDefaultValue(HeaderProperty)))
System\Windows\Controls\HeaderedItemsControl.cs (2)
271if (HeaderIsItem || !HasNonDefaultValue(HeaderProperty)) 427if (hTemplate.ItemsSource != null && !HasNonDefaultValue(ItemsSourceProperty))
System\Windows\Controls\MenuItem.cs (3)
338if (value == null && !menuItem.HasNonDefaultValue(HeaderProperty)) 1128if (String.IsNullOrEmpty((string)value) && !menuItem.HasNonDefaultValue(InputGestureTextProperty) 1321if (!menuItem.HasNonDefaultValue(CommandProperty))
System\Windows\Controls\Primitives\TickBar.cs (2)
662if (!HasNonDefaultValue(target)) 691if (!HasNonDefaultValue(ReservedSpaceProperty) && parent.Track != null)
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
328if (TemplatedParent is ToolBar && !HasNonDefaultValue(OrientationProperty))
System\Windows\Controls\Primitives\Track.cs (2)
684if (!HasNonDefaultValue(target)) 696if (element != null && !element.HasNonDefaultValue(target))
System\Windows\Controls\ScrollViewer.cs (1)
1331if (!HasNonDefaultValue(property))