19 references to HasNonDefaultValue
PresentationFramework (19)
System\Windows\Controls\ContentControl.cs (1)
129
if (ContentIsItem || !
HasNonDefaultValue
(ContentProperty))
System\Windows\Controls\ContentPresenter.cs (1)
596
if (_contentIsItem || !
HasNonDefaultValue
(ContentProperty))
System\Windows\Controls\GroupItem.cs (4)
196
if (ContentIsItem || !
HasNonDefaultValue
(ContentProperty))
201
if (!
HasNonDefaultValue
(ContentTemplateProperty))
203
if (!
HasNonDefaultValue
(ContentTemplateSelectorProperty))
205
if (!
HasNonDefaultValue
(ContentStringFormatProperty))
System\Windows\Controls\HeaderedContentControl.cs (2)
330
if (ContentIsItem || !
HasNonDefaultValue
(ContentProperty))
337
if (!(item is Visual) && (HeaderIsItem || !
HasNonDefaultValue
(HeaderProperty)))
System\Windows\Controls\HeaderedItemsControl.cs (2)
270
if (HeaderIsItem || !
HasNonDefaultValue
(HeaderProperty))
426
if (hTemplate.ItemsSource != null && !
HasNonDefaultValue
(ItemsSourceProperty))
System\Windows\Controls\MenuItem.cs (3)
337
if (value == null && !menuItem.
HasNonDefaultValue
(HeaderProperty))
1124
if (String.IsNullOrEmpty((string)value) && !menuItem.
HasNonDefaultValue
(InputGestureTextProperty)
1317
if (!menuItem.
HasNonDefaultValue
(CommandProperty))
System\Windows\Controls\Primitives\TickBar.cs (2)
661
if (!
HasNonDefaultValue
(target))
692
if (!
HasNonDefaultValue
(ReservedSpaceProperty) && parent.Track != null)
System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
324
if (TemplatedParent is ToolBar && !
HasNonDefaultValue
(OrientationProperty))
System\Windows\Controls\Primitives\Track.cs (2)
669
if (!
HasNonDefaultValue
(target))
683
if (element != null && !element.
HasNonDefaultValue
(target))
System\Windows\Controls\ScrollViewer.cs (1)
1330
if (!
HasNonDefaultValue
(property))