35 references to BaseValueSource
PresentationFramework (18)
MS\Internal\Documents\TextBoxView.cs (2)
3086BaseValueSource textAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.TextAlignmentProperty).BaseValueSource; 3087BaseValueSource horizontalAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.HorizontalContentAlignmentProperty).BaseValueSource;
System\Windows\Controls\Calendar.cs (1)
507if (DependencyPropertyHelper.GetValueSource(d, Calendar.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
System\Windows\Controls\DataGridHelper.cs (6)
336return DependencyPropertyHelper.GetValueSource(d, dp).BaseValueSource == BaseValueSource.Default; 392var maxBaseValueSource = propertySource.BaseValueSource; 398if (parentPropertySource.BaseValueSource > maxBaseValueSource) 401maxBaseValueSource = parentPropertySource.BaseValueSource; 409if (grandParentPropertySource.BaseValueSource > maxBaseValueSource) 412maxBaseValueSource = grandParentPropertySource.BaseValueSource;
System\Windows\Controls\DataGridRow.cs (1)
507if (valueSource.BaseValueSource == BaseValueSource.Local)
System\Windows\Controls\DatePicker.cs (1)
401if (DependencyPropertyHelper.GetValueSource(datePicker, DatePicker.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
System\Windows\Controls\ItemsControl.cs (2)
83BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource; 105BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.CacheLengthUnitProperty).BaseValueSource;
System\Windows\Controls\Primitives\Popup.cs (1)
175if (vs.BaseValueSource <= BaseValueSource.Inherited)
System\Windows\Documents\Run.cs (1)
146if (!_isInsideDeferredSet && (_changeEventNestingCount == 0 || (textPropertySource.BaseValueSource == BaseValueSource.Local
System\windows\Documents\TextSelection.cs (2)
1497System.Windows.DependencyPropertyHelper.GetValueSource(element, inheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited) 1507System.Windows.DependencyPropertyHelper.GetValueSource(element, noninheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited)
System\Windows\FrameworkElement.cs (1)
2441if (vs.BaseValueSource > BaseValueSource.Inherited)
System.Windows.Controls.Ribbon (17)
Microsoft\Windows\Controls\Generated\PropertyHelper.cs (6)
18return DependencyPropertyHelper.GetValueSource(d, dp).BaseValueSource == BaseValueSource.Default; 74var maxBaseValueSource = propertySource.BaseValueSource; 80if (parentPropertySource.BaseValueSource > maxBaseValueSource) 83maxBaseValueSource = parentPropertySource.BaseValueSource; 91if (grandParentPropertySource.BaseValueSource > maxBaseValueSource) 94maxBaseValueSource = grandParentPropertySource.BaseValueSource;
Microsoft\Windows\Controls\KeyTipService.cs (1)
909if (DependencyPropertyHelper.GetValueSource(element, FrameworkElement.LanguageProperty).BaseValueSource != BaseValueSource.Default)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
553if (vs.BaseValueSource <= BaseValueSource.ImplicitStyleReference)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
586BaseValueSource newValueSource = DependencyPropertyHelper.GetValueSource(ribbonGroup, ForegroundProperty).BaseValueSource;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (6)
209return new ValueAndValueSource() { Value = d.GetValue(property), ValueSource = DependencyPropertyHelper.GetValueSource(d, property).BaseValueSource }; 1437var baseValueSource = propertySource.BaseValueSource; 1498var baseValueSource = propertySource.BaseValueSource; 1557performTransfer |= DependencyPropertyHelper.GetValueSource(original, originalProperty).BaseValueSource > BaseValueSource.Default; 1561performTransfer |= DependencyPropertyHelper.GetValueSource(original, originalProperty).BaseValueSource >= BaseValueSource.ParentTemplate; 2269cloneElement, markupProp.DependencyProperty).BaseValueSource;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
583if (vs.BaseValueSource <= BaseValueSource.ImplicitStyleReference)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
558if (vs.BaseValueSource <= BaseValueSource.ImplicitStyleReference)