32 references to GetValueSource
PresentationFramework (16)
MS\Internal\Documents\TextBoxView.cs (2)
3043
BaseValueSource textAlignmentSource = DependencyPropertyHelper.
GetValueSource
(host, TextBox.TextAlignmentProperty).BaseValueSource;
3044
BaseValueSource horizontalAlignmentSource = DependencyPropertyHelper.
GetValueSource
(host, TextBox.HorizontalContentAlignmentProperty).BaseValueSource;
System\Windows\Controls\Calendar.cs (1)
502
if (DependencyPropertyHelper.
GetValueSource
(d, Calendar.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
System\Windows\Controls\DataGridHelper.cs (4)
329
return DependencyPropertyHelper.
GetValueSource
(d, dp).BaseValueSource == BaseValueSource.Default;
384
var propertySource = DependencyPropertyHelper.
GetValueSource
(baseObject, baseProperty);
389
var parentPropertySource = DependencyPropertyHelper.
GetValueSource
(parentObject, parentProperty);
400
var grandParentPropertySource = DependencyPropertyHelper.
GetValueSource
(grandParentObject, grandParentProperty);
System\Windows\Controls\DataGridRow.cs (1)
501
ValueSource valueSource = DependencyPropertyHelper.
GetValueSource
(objectWithProperty, property);
System\Windows\Controls\DatePicker.cs (1)
396
if (DependencyPropertyHelper.
GetValueSource
(datePicker, DatePicker.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
System\Windows\Controls\ItemsControl.cs (2)
73
BaseValueSource baseValueSource = DependencyPropertyHelper.
GetValueSource
(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource;
95
BaseValueSource baseValueSource = DependencyPropertyHelper.
GetValueSource
(d, VirtualizingStackPanel.CacheLengthUnitProperty).BaseValueSource;
System\Windows\Controls\Primitives\Popup.cs (1)
162
System.Windows.ValueSource vs = DependencyPropertyHelper.
GetValueSource
(Child, TextOptions.TextRenderingModeProperty);
System\Windows\Documents\Run.cs (1)
135
ValueSource textPropertySource = DependencyPropertyHelper.
GetValueSource
(this, TextProperty);
System\windows\Documents\TextSelection.cs (2)
1478
System.Windows.DependencyPropertyHelper.
GetValueSource
(element, inheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited)
1488
System.Windows.DependencyPropertyHelper.
GetValueSource
(element, noninheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited)
System\Windows\FrameworkElement.cs (1)
2420
System.Windows.ValueSource vs = DependencyPropertyHelper.
GetValueSource
(this, TextOptions.TextRenderingModeProperty);
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\Generated\PropertyHelper.cs (4)
17
return DependencyPropertyHelper.
GetValueSource
(d, dp).BaseValueSource == BaseValueSource.Default;
72
var propertySource = DependencyPropertyHelper.
GetValueSource
(baseObject, baseProperty);
77
var parentPropertySource = DependencyPropertyHelper.
GetValueSource
(parentObject, parentProperty);
88
var grandParentPropertySource = DependencyPropertyHelper.
GetValueSource
(grandParentObject, grandParentProperty);
Microsoft\Windows\Controls\KeyTipService.cs (1)
903
if (DependencyPropertyHelper.
GetValueSource
(element, FrameworkElement.LanguageProperty).BaseValueSource != BaseValueSource.Default)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
563
ValueSource vs = DependencyPropertyHelper.
GetValueSource
(separator, StyleProperty);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
907
ValueSource valueSource = DependencyPropertyHelper.
GetValueSource
(gallery, RibbonGallery.SelectedValueProperty);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
579
BaseValueSource newValueSource = DependencyPropertyHelper.
GetValueSource
(ribbonGroup, ForegroundProperty).BaseValueSource;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (6)
207
return new ValueAndValueSource() { Value = d.GetValue(property), ValueSource = DependencyPropertyHelper.
GetValueSource
(d, property).BaseValueSource };
1410
var propertySource = DependencyPropertyHelper.
GetValueSource
(d, dp);
1471
var propertySource = DependencyPropertyHelper.
GetValueSource
(d, dp);
1531
performTransfer |= DependencyPropertyHelper.
GetValueSource
(original, originalProperty).BaseValueSource > BaseValueSource.Default;
1535
performTransfer |= DependencyPropertyHelper.
GetValueSource
(original, originalProperty).BaseValueSource >= BaseValueSource.ParentTemplate;
2242
BaseValueSource baseValueSource = DependencyPropertyHelper.
GetValueSource
(
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
578
ValueSource vs = DependencyPropertyHelper.
GetValueSource
(separator, StyleProperty);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
553
ValueSource vs = DependencyPropertyHelper.
GetValueSource
(separator, StyleProperty);