41 references to BaseValueSource
PresentationFramework (23)
MS\Internal\Documents\TextBoxView.cs (6)
3086BaseValueSource textAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.TextAlignmentProperty).BaseValueSource; 3087BaseValueSource horizontalAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.HorizontalContentAlignmentProperty).BaseValueSource; 3090if (textAlignmentSource == BaseValueSource.Local) 3095if (horizontalAlignmentSource == BaseValueSource.Local) 3103if ((textAlignmentSource == BaseValueSource.Default) && 3104(horizontalAlignmentSource != BaseValueSource.Default))
System\Windows\Controls\Calendar.cs (1)
507if (DependencyPropertyHelper.GetValueSource(d, Calendar.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
System\Windows\Controls\DataGridHelper.cs (2)
336return DependencyPropertyHelper.GetValueSource(d, dp).BaseValueSource == BaseValueSource.Default; 392var maxBaseValueSource = propertySource.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 (4)
83BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource; 84if (((ItemsControl)d).IsGrouping && baseValueSource == BaseValueSource.Default) 105BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.CacheLengthUnitProperty).BaseValueSource; 106if ( !((ItemsControl)d).IsGrouping && !(d is TreeView) && baseValueSource == BaseValueSource.Default )
System\Windows\Controls\Primitives\Popup.cs (1)
175if (vs.BaseValueSource <= BaseValueSource.Inherited)
System\Windows\DependencyPropertyHelper.cs (3)
59_baseValueSource = (BaseValueSource)source; 70public BaseValueSource BaseValueSource 155BaseValueSource _baseValueSource;
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 (18)
Microsoft\Windows\Controls\Generated\PropertyHelper.cs (2)
18return DependencyPropertyHelper.GetValueSource(d, dp).BaseValueSource == BaseValueSource.Default; 74var maxBaseValueSource = propertySource.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 (2)
586BaseValueSource newValueSource = DependencyPropertyHelper.GetValueSource(ribbonGroup, ForegroundProperty).BaseValueSource; 587if (newValueSource > BaseValueSource.Inherited && !SystemParameters.HighContrast)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (10)
199public BaseValueSource ValueSource { get; set; } 217if (v.ValueSource == BaseValueSource.Local) 1437var baseValueSource = propertySource.BaseValueSource; 1439if (baseValueSource == BaseValueSource.Default) 1498var baseValueSource = propertySource.BaseValueSource; 1500if (baseValueSource == BaseValueSource.Default) 1557performTransfer |= DependencyPropertyHelper.GetValueSource(original, originalProperty).BaseValueSource > BaseValueSource.Default; 1561performTransfer |= DependencyPropertyHelper.GetValueSource(original, originalProperty).BaseValueSource >= BaseValueSource.ParentTemplate; 2268BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource( 2270if (baseValueSource >= BaseValueSource.ParentTemplate)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (1)
583if (vs.BaseValueSource <= BaseValueSource.ImplicitStyleReference)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
558if (vs.BaseValueSource <= BaseValueSource.ImplicitStyleReference)