22 references to BaseValueSource
PresentationFramework (22)
src\Framework\MS\Internal\Documents\TextBoxView.cs (6)
3063BaseValueSource textAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.TextAlignmentProperty).BaseValueSource; 3064BaseValueSource horizontalAlignmentSource = DependencyPropertyHelper.GetValueSource(host, TextBox.HorizontalContentAlignmentProperty).BaseValueSource; 3067if (textAlignmentSource == BaseValueSource.Local) 3072if (horizontalAlignmentSource == BaseValueSource.Local) 3080if ((textAlignmentSource == BaseValueSource.Default) && 3081(horizontalAlignmentSource != BaseValueSource.Default))
src\Framework\System\Windows\Controls\Calendar.cs (1)
508if (DependencyPropertyHelper.GetValueSource(d, Calendar.FirstDayOfWeekProperty).BaseValueSource == BaseValueSource.Default)
src\Framework\System\Windows\Controls\DataGridHelper.cs (2)
337return DependencyPropertyHelper.GetValueSource(d, dp).BaseValueSource == BaseValueSource.Default; 393var maxBaseValueSource = propertySource.BaseValueSource;
src\Framework\System\Windows\Controls\DataGridRow.cs (1)
508if (valueSource.BaseValueSource == BaseValueSource.Local)
src\Framework\System\Windows\Controls\ItemsControl.cs (4)
84BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.ScrollUnitProperty).BaseValueSource; 85if (((ItemsControl)d).IsGrouping && baseValueSource == BaseValueSource.Default) 106BaseValueSource baseValueSource = DependencyPropertyHelper.GetValueSource(d, VirtualizingStackPanel.CacheLengthUnitProperty).BaseValueSource; 107if ( !((ItemsControl)d).IsGrouping && !(d is TreeView) && baseValueSource == BaseValueSource.Default )
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
176if (vs.BaseValueSource <= BaseValueSource.Inherited)
src\Framework\System\Windows\DependencyPropertyHelper.cs (3)
60_baseValueSource = (BaseValueSource)source; 71public BaseValueSource BaseValueSource 156BaseValueSource _baseValueSource;
src\Framework\System\Windows\Documents\Run.cs (1)
146if (!_isInsideDeferredSet && (_changeEventNestingCount == 0 || (textPropertySource.BaseValueSource == BaseValueSource.Local
src\Framework\System\windows\Documents\TextSelection.cs (2)
1500System.Windows.DependencyPropertyHelper.GetValueSource(element, inheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited) 1510System.Windows.DependencyPropertyHelper.GetValueSource(element, noninheritableProperties[i]).BaseValueSource != BaseValueSource.Inherited)
src\Framework\System\Windows\FrameworkElement.cs (1)
2438if (vs.BaseValueSource > BaseValueSource.Inherited)