32 references to GetValueSource
PresentationFramework (16)
MS\Internal\Documents\TextBoxView.cs (2)
3086
BaseValueSource textAlignmentSource = DependencyPropertyHelper.
GetValueSource
(host, TextBox.TextAlignmentProperty).BaseValueSource;
3087
BaseValueSource horizontalAlignmentSource = DependencyPropertyHelper.
GetValueSource
(host, TextBox.HorizontalContentAlignmentProperty).BaseValueSource;
System\Windows\Controls\Calendar.cs (1)
507
if (DependencyPropertyHelper.
GetValueSource
(d, Calendar.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
System\Windows\Controls\DataGridHelper.cs (4)
336
return DependencyPropertyHelper.
GetValueSource
(d, dp).BaseValueSource == BaseValueSource.Default;
391
var propertySource = DependencyPropertyHelper.
GetValueSource
(baseObject, baseProperty);
396
var parentPropertySource = DependencyPropertyHelper.
GetValueSource
(parentObject, parentProperty);
407
var grandParentPropertySource = DependencyPropertyHelper.
GetValueSource
(grandParentObject, grandParentProperty);
System\Windows\Controls\DataGridRow.cs (1)
506
ValueSource valueSource = DependencyPropertyHelper.
GetValueSource
(objectWithProperty, property);
System\Windows\Controls\DatePicker.cs (1)
401
if (DependencyPropertyHelper.
GetValueSource
(datePicker, DatePicker.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
System\Windows\Controls\ItemsControl.cs (2)
83
BaseValueSource baseValueSource = DependencyPropertyHelper.
GetValueSource
(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource;
105
BaseValueSource baseValueSource = DependencyPropertyHelper.
GetValueSource
(d, VirtualizingStackPanel.CacheLengthUnitProperty).BaseValueSource;
System\Windows\Controls\Primitives\Popup.cs (1)
174
System.Windows.ValueSource vs = DependencyPropertyHelper.
GetValueSource
(Child, TextOptions.TextRenderingModeProperty);
System\Windows\Documents\Run.cs (1)
145
ValueSource textPropertySource = DependencyPropertyHelper.
GetValueSource
(this, TextProperty);
System\windows\Documents\TextSelection.cs (2)
1497
System.Windows.DependencyPropertyHelper.
GetValueSource
(element, inheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited)
1507
System.Windows.DependencyPropertyHelper.
GetValueSource
(element, noninheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited)
System\Windows\FrameworkElement.cs (1)
2440
System.Windows.ValueSource vs = DependencyPropertyHelper.
GetValueSource
(this, TextOptions.TextRenderingModeProperty);
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\Generated\PropertyHelper.cs (4)
18
return DependencyPropertyHelper.
GetValueSource
(d, dp).BaseValueSource == BaseValueSource.Default;
73
var propertySource = DependencyPropertyHelper.
GetValueSource
(baseObject, baseProperty);
78
var parentPropertySource = DependencyPropertyHelper.
GetValueSource
(parentObject, parentProperty);
89
var grandParentPropertySource = DependencyPropertyHelper.
GetValueSource
(grandParentObject, grandParentProperty);
Microsoft\Windows\Controls\KeyTipService.cs (1)
909
if (DependencyPropertyHelper.
GetValueSource
(element, FrameworkElement.LanguageProperty).BaseValueSource != BaseValueSource.Default)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
552
ValueSource vs = DependencyPropertyHelper.
GetValueSource
(separator, StyleProperty);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
908
ValueSource valueSource = DependencyPropertyHelper.
GetValueSource
(gallery, RibbonGallery.SelectedValueProperty);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
586
BaseValueSource newValueSource = DependencyPropertyHelper.
GetValueSource
(ribbonGroup, ForegroundProperty).BaseValueSource;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (6)
209
return new ValueAndValueSource() { Value = d.GetValue(property), ValueSource = DependencyPropertyHelper.
GetValueSource
(d, property).BaseValueSource };
1436
var propertySource = DependencyPropertyHelper.
GetValueSource
(d, dp);
1497
var propertySource = DependencyPropertyHelper.
GetValueSource
(d, dp);
1557
performTransfer |= DependencyPropertyHelper.
GetValueSource
(original, originalProperty).BaseValueSource > BaseValueSource.Default;
1561
performTransfer |= DependencyPropertyHelper.
GetValueSource
(original, originalProperty).BaseValueSource >= BaseValueSource.ParentTemplate;
2268
BaseValueSource baseValueSource = DependencyPropertyHelper.
GetValueSource
(
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
582
ValueSource vs = DependencyPropertyHelper.
GetValueSource
(separator, StyleProperty);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
557
ValueSource vs = DependencyPropertyHelper.
GetValueSource
(separator, StyleProperty);