35 references to BaseValueSource
PresentationFramework (18)
MS\Internal\Documents\TextBoxView.cs (2)
3084BaseValueSource textAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.TextAlignmentProperty).BaseValueSource; 3085BaseValueSource horizontalAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.HorizontalContentAlignmentProperty).BaseValueSource;
System\Windows\Controls\Calendar.cs (1)
503if (DependencyPropertyHelper.GetValueSource(d, Calendar.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
System\Windows\Controls\DataGridHelper.cs (6)
330return DependencyPropertyHelper.GetValueSource(d, dp).BaseValueSource == BaseValueSource.Default; 386var maxBaseValueSource = propertySource.BaseValueSource; 392if (parentPropertySource.BaseValueSource > maxBaseValueSource) 395maxBaseValueSource = parentPropertySource.BaseValueSource; 403if (grandParentPropertySource.BaseValueSource > maxBaseValueSource) 406maxBaseValueSource = grandParentPropertySource.BaseValueSource;
System\Windows\Controls\DataGridRow.cs (1)
503if (valueSource.BaseValueSource == BaseValueSource.Local)
System\Windows\Controls\DatePicker.cs (1)
397if (DependencyPropertyHelper.GetValueSource(datePicker, DatePicker.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
System\Windows\Controls\ItemsControl.cs (2)
74BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource; 96BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.CacheLengthUnitProperty).BaseValueSource;
System\Windows\Controls\Primitives\Popup.cs (1)
168if (vs.BaseValueSource <= BaseValueSource.Inherited)
System\Windows\Documents\Run.cs (1)
146if (!_isInsideDeferredSet && (_changeEventNestingCount == 0 || (textPropertySource.BaseValueSource == BaseValueSource.Local
System\windows\Documents\TextSelection.cs (2)
1494System.Windows.DependencyPropertyHelper.GetValueSource(element, inheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited) 1504System.Windows.DependencyPropertyHelper.GetValueSource(element, noninheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited)
System\Windows\FrameworkElement.cs (1)
2430if (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)
907if (DependencyPropertyHelper.GetValueSource(element, FrameworkElement.LanguageProperty).BaseValueSource != BaseValueSource.Default)
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (1)
551if (vs.BaseValueSource <= BaseValueSource.ImplicitStyleReference)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
583BaseValueSource newValueSource = DependencyPropertyHelper.GetValueSource(ribbonGroup, ForegroundProperty).BaseValueSource;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (6)
204return new ValueAndValueSource() { Value = d.GetValue(property), ValueSource = DependencyPropertyHelper.GetValueSource(d, property).BaseValueSource }; 1432var baseValueSource = propertySource.BaseValueSource; 1493var baseValueSource = propertySource.BaseValueSource; 1552performTransfer |= DependencyPropertyHelper.GetValueSource(original, originalProperty).BaseValueSource > BaseValueSource.Default; 1556performTransfer |= DependencyPropertyHelper.GetValueSource(original, originalProperty).BaseValueSource >= BaseValueSource.ParentTemplate; 2264cloneElement, markupProp.DependencyProperty).BaseValueSource;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
580if (vs.BaseValueSource <= BaseValueSource.ImplicitStyleReference)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
555if (vs.BaseValueSource <= BaseValueSource.ImplicitStyleReference)