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