19 references to HasNonDefaultValue
PresentationFramework (19)
src\Framework\System\Windows\Controls\ContentControl.cs (1)
135
if (ContentIsItem || !
HasNonDefaultValue
(ContentProperty))
src\Framework\System\Windows\Controls\ContentPresenter.cs (1)
606
if (_contentIsItem || !
HasNonDefaultValue
(ContentProperty))
src\Framework\System\Windows\Controls\GroupItem.cs (4)
207
if (ContentIsItem || !
HasNonDefaultValue
(ContentProperty))
212
if (!
HasNonDefaultValue
(ContentTemplateProperty))
214
if (!
HasNonDefaultValue
(ContentTemplateSelectorProperty))
216
if (!
HasNonDefaultValue
(ContentStringFormatProperty))
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (2)
337
if (ContentIsItem || !
HasNonDefaultValue
(ContentProperty))
344
if (!(item is Visual) && (HeaderIsItem || !
HasNonDefaultValue
(HeaderProperty)))
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (2)
272
if (HeaderIsItem || !
HasNonDefaultValue
(HeaderProperty))
428
if (hTemplate.ItemsSource != null && !
HasNonDefaultValue
(ItemsSourceProperty))
src\Framework\System\Windows\Controls\MenuItem.cs (3)
351
if (value == null && !menuItem.
HasNonDefaultValue
(HeaderProperty))
1124
if (String.IsNullOrEmpty((string)value) && !menuItem.
HasNonDefaultValue
(InputGestureTextProperty)
1317
if (!menuItem.
HasNonDefaultValue
(CommandProperty))
src\Framework\System\Windows\Controls\Primitives\TickBar.cs (2)
677
if (!
HasNonDefaultValue
(target))
706
if (!
HasNonDefaultValue
(ReservedSpaceProperty) && parent.Track != null)
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
338
if (TemplatedParent is ToolBar && !
HasNonDefaultValue
(OrientationProperty))
src\Framework\System\Windows\Controls\Primitives\Track.cs (2)
697
if (!
HasNonDefaultValue
(target))
709
if (element != null && !element.
HasNonDefaultValue
(target))
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
1367
if (!
HasNonDefaultValue
(property))