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